emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r108193: * Makefile.in (install-arch-


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r108193: * Makefile.in (install-arch-indep): Use INSTALL_DATA for the DOC file.
Date: Fri, 11 May 2012 01:10:52 -0700
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 108193
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Fri 2012-05-11 01:10:52 -0700
message:
  * Makefile.in (install-arch-indep): Use INSTALL_DATA for the DOC file.
modified:
  ChangeLog
  Makefile.in
=== modified file 'ChangeLog'
--- a/ChangeLog 2012-05-11 07:51:31 +0000
+++ b/ChangeLog 2012-05-11 08:10:52 +0000
@@ -1,6 +1,7 @@
 2012-05-11  Glenn Morris  <address@hidden>
 
        * Makefile.in (install-arch-indep): There are no more Makefile.c files.
+       Use INSTALL_DATA for the DOC file.
 
 2012-05-10  Glenn Morris  <address@hidden>
 

=== modified file 'Makefile.in'
--- a/Makefile.in       2012-05-11 07:51:31 +0000
+++ b/Makefile.in       2012-05-11 08:10:52 +0000
@@ -455,6 +455,8 @@
 ### Install the executables that were compiled specifically for this machine.
 ### It would be nice to do something for a parallel make
 ### to ensure that install-arch-indep finishes before this starts.
+### (TODO Why would it be nice?  Why not just make this depend on
+### install-arch-indep then?)
 install-arch-dep: mkdir
        (cd lib-src; \
          $(MAKE) install $(MFLAGS) prefix=${prefix} \
@@ -579,11 +581,10 @@
             docfile="DOC"; \
           fi; \
           echo "Copying etc/$${docfile} to $(DESTDIR)${docdir} ..." ; \
-          (cd ./etc; tar -chf - $${docfile}) \
-            |(cd $(DESTDIR)${docdir}; umask 022; tar -xvf - && cat > 
/dev/null) || exit 1; \
+          ${INSTALL_DATA} etc/$${docfile} $(DESTDIR)${docdir}/$${docfile}; \
           (cd $(DESTDIR)$(docdir); \
            $(set_installuser); \
-           chown $${installuser} DOC*; chmod a+r DOC*; \
+           chown $${installuser} DOC*; \
            if test "`echo DOC-*`" != "DOC-*"; then rm -f DOC; fi); \
        else true; fi
        -unset CDPATH; \


reply via email to

[Prev in Thread] Current Thread [Next in Thread]