changeset 15323:af013b84d1ad

(install-arch-indep): If cd etc makes output, don't treat that as part of the tar data. Check that ./lisp actually exists.
author Richard M. Stallman <rms@gnu.org>
date Mon, 03 Jun 1996 20:06:27 +0000
parents eb3d8a25866a
children 6fd4e01fd332
files Makefile.in
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Mon Jun 03 17:44:23 1996 +0000
+++ b/Makefile.in	Mon Jun 03 20:06:27 1996 +0000
@@ -354,10 +354,11 @@
 	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} ..." ; \