]> git.eshelyaron.com Git - emacs.git/commitdiff
(install-arch-indep): If cd etc makes output,
authorRichard M. Stallman <rms@gnu.org>
Mon, 3 Jun 1996 20:06:27 +0000 (20:06 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 3 Jun 1996 20:06:27 +0000 (20:06 +0000)
don't treat that as part of the tar data.
Check that ./lisp actually exists.

Makefile.in

index 733133c5a2a2f6cef549e6878092db3f5c644d2a..dc5d06cac87c8f27297927bf2cff520bcd73fd34 100644 (file)
@@ -354,10 +354,11 @@ install-arch-indep: mkdir
        if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \
        then \
           echo "Copying etc/DOC-* to ${docdir} ..." ; \
-          (cd etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \
+          (cd ./etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \
           (cd $(docdir); chmod a+r DOC*; rm DOC) \
        else true; fi
-       if [ x`(cd ./lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ] \
+       if [ -r ./lisp ] \
+          && [ x`(cd ./lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ] \
           && [ x`(cd ${srcdir}/lisp; /bin/pwd)` != x`(cd ./lisp; /bin/pwd)` ]; \
        then \
           echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \