diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-06-03 20:06:27 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-06-03 20:06:27 +0000 |
commit | 7d2cdc3cc750ec6d09d9953e34acedb31569d82e (patch) | |
tree | b3a190cb783eb39aafe731ee9c13857dd0a3d36a /Makefile.in | |
parent | 26b430b7b30e3644a842ce2ee8d37abd7248fe62 (diff) | |
download | emacs-7d2cdc3cc750ec6d09d9953e34acedb31569d82e.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.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
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} ..." ; \ |