nt/Makefile.in: Follow up to previous change.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 17 Feb 2014 19:04:51 +0000 (20:04 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 17 Feb 2014 19:04:51 +0000 (20:04 +0100)
nt/Makefile.in (install): Create destination directory before copying
README.W32, and use ${datadir} to refer to the file.

Fixes: debbugs:16772

nt/ChangeLog
nt/Makefile.in

index 1dc6319..ccbeb85 100644 (file)
@@ -1,7 +1,7 @@
 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
 
-       * Makefile.in (install): Create destination directory before
-       copying README.W32 (bug#16772).
+       * Makefile.in (install): Create destination directory before copying
+       README.W32, and use ${datadir} to refer to the file (bug#16772).
 
 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
 
index 4970ca4..f498928 100644 (file)
@@ -172,7 +172,7 @@ install: $(DESTDIR)${archlibdir}
          $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} "$(DESTDIR)${bindir}"/`echo $${file} | sed -e 's/${EXEEXT}$$//' -e '$(TRANSFORM)'`${EXEEXT} ; \
        done
        ${MKDIR_P} "$(DESTDIR)${datadir}/emacs/$(version)"
-       $(INSTALL_DATA) README.W32 "$(DESTDIR)${datadir}/emacs/$(version)"
+       $(INSTALL_DATA) ${srcdir}/README.W32 "$(DESTDIR)${datadir}/emacs/$(version)"
 
 uninstall:
        rm -f "$(DESTDIR)${datadir}/emacs/$(version)/README.W32"