Copy README.W32 when installing Windows build (bug#14757).
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 13 Feb 2014 03:19:57 +0000 (04:19 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 13 Feb 2014 03:19:57 +0000 (04:19 +0100)
* Makefile.in (install-nt): Also pass datadir.

* nt/Makefile.in (datarootdir, datadir, INSTALL_DATA): Declare.
(install): Copy README.W32 to $(datadir)/emacs/$(version).
(uninstall): Remove README.W32.

ChangeLog
Makefile.in
nt/ChangeLog
nt/Makefile.in

index 67d3296..22f33b0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
+
+       * Makefile.in (install-nt): Also pass datadir.
+
 2014-02-05  Paul Eggert  <eggert@cs.ucla.edu>
 
        Merge from gnulib, incorporating:
index e69998e..192c948 100644 (file)
@@ -510,6 +510,7 @@ install-nt:
          $(MAKE) install $(MFLAGS) prefix="${prefix}" \
            exec_prefix="${exec_prefix}" bindir="${bindir}" \
            libexecdir="${libexecdir}" archlibdir="${archlibdir}" \
+           datadir="${datadir}" \
            INSTALL_STRIP=${INSTALL_STRIP}
 
 ## In the share directory, we are deleting:
index 4c20ce5..4c721c4 100644 (file)
@@ -1,3 +1,9 @@
+2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
+
+       * Makefile.in (datarootdir, datadir, INSTALL_DATA): Declare.
+       (install): Copy README.W32 to $(datadir)/emacs/$(version).
+       (uninstall): Remove README.W32.  (Bug#14757)
+
 2014-02-08  Eli Zaretskii  <eliz@gnu.org>
 
        * INSTALL: Update for Emacs 24.4.
index ab65790..9564ec2 100644 (file)
@@ -56,6 +56,15 @@ exec_prefix=@exec_prefix@
 # to `../configure'.
 bindir=@bindir@
 
+# The root of the directory tree for read-only architecture-independent
+# data files.  ${datadir}, ${infodir} and ${mandir} are based on this.
+datarootdir=@datarootdir@
+
+# Where to install architecture-independent data files.  ${lispdir}
+# and ${etcdir} are subdirectories of this.  This is set with the
+# --datadir option to `../configure'.
+datadir=@datadir@
+
 # Where to install and expect executable files to be run by Emacs
 # rather than directly by users, and other architecture-dependent
 # data.  ${archlibdir} is usually below this.  This is set with the
@@ -95,6 +104,7 @@ archlibdir=@archlibdir@
 
 # ../configure figures out the correct values for these.
 INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
 # By default, we uphold the dignity of our programs.
@@ -161,8 +171,10 @@ install: $(DESTDIR)${archlibdir}
        for file in ${INSTALLABLES} ; do \
          $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} "$(DESTDIR)${bindir}"/`echo $${file} | sed -e 's/${EXEEXT}$$//' -e '$(TRANSFORM)'`${EXEEXT} ; \
        done
+       $(INSTALL_DATA) README.W32 "$(DESTDIR)${datadir}/emacs/$(version)"
 
 uninstall:
+       rm -f "$(DESTDIR)${datadir}/emacs/$(version)/README.W32"
        for file in ${INSTALLABLES}; do \
          rm -f "$(DESTDIR)${bindir}"/`echo $${file} | sed -e 's/${EXEEXT}$$//' -e '$(TRANSFORM)'`${EXEEXT} ; \
        done