summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-06-03 20:06:27 +0000
committerRichard M. Stallman <rms@gnu.org>1996-06-03 20:06:27 +0000
commit1dbdfafea8721a008fd1086adf68410348f3d61d (patch)
tree4bf779cf4c01083d452a5605136e12a2b15e2651
parentc7ace6208283684f53854075f75fc045177c67b4 (diff)
downloademacs-1dbdfafea8721a008fd1086adf68410348f3d61d.tar.gz
(install-arch-indep): If cd etc makes output,
don't treat that as part of the tar data. Check that ./lisp actually exists.
-rw-r--r--Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 733133c5a2a..dc5d06cac87 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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} ..." ; \