bug-gnu-emacs
[Top][All Lists]
Advanced

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

Small install patch for emacs 21.1


From: Petter Reinholdtsen
Subject: Small install patch for emacs 21.1
Date: Mon, 22 Oct 2001 18:40:12 +0200

Here is a small patch to the install rules for emacs 21.1.  When I
compile emacs in a Store linktree (generated using lndir), the lisp
files are left behind, and only symlinks are copied.  Adding 'h' to
the tar option list forces it to follow symlinks, and copy the real
files.  Please include this patch in the next emacs release.

diff -ur src-21.1/Makefile.in src-21.1-sun4os58/Makefile.in
--- src-21.1/Makefile.in        Wed Apr 25 15:50:10 2001
+++ src-21.1-sun4os58/Makefile.in       Mon Oct 22 18:35:08 2001
@@ -364,7 +364,7 @@
          [ -d $${dir} ] \
          && [ `(cd $${dir} && /bin/pwd)` != `(cd $${dest} && /bin/pwd)` ] \
          && (echo "Copying $${dir} to $${dest}..." ; \
-             (cd $${dir}; tar -cf - . ) \
+             (cd $${dir}; tar -chf - . ) \
                | (cd $${dest}; umask 022; \
                    tar -xvf - && cat > /dev/null) || exit 1; \
              for subdir in `find $${dest} -type d ! -name RCS ! -name CVS 
-print` ; do \
@@ -403,7 +403,7 @@
        if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \
        then \
           echo "Copying etc/DOC-* to ${docdir} ..." ; \
-          (cd ./etc; tar -cf - DOC*) \
+          (cd ./etc; tar -chf - DOC*) \
             |(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null) || exit 1; 
\
           (cd $(docdir); chmod a+r DOC*; rm DOC); \
        else true; fi
@@ -414,7 +414,7 @@
           && [ x`(cd ${srcdir}/lisp; /bin/pwd)` != x`(cd ./lisp; /bin/pwd)` ]; 
\
        then \
           echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \
-          (cd lisp; tar -cf - *.el *.elc) \
+          (cd lisp; tar -chf - *.el *.elc) \
             |(cd ${lispdir}; umask 0; tar -xvf - && cat > /dev/null) || exit 
1; \
        else true; fi
        -unset CDPATH; \




reply via email to

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