diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2002-11-11 09:03:08 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2002-11-11 09:03:08 +0000 |
commit | 25a6f6573eb5c328d255d24ee4bbbff83c91bb48 (patch) | |
tree | d5159ea0da18e87ecc863edb61c89fc7b7c739ed /Makefile.in | |
parent | 23b1ffb1761dc9f128449db4cf5811f57c61a92c (diff) | |
download | emacs-25a6f6573eb5c328d255d24ee4bbbff83c91bb48.tar.gz |
(install-arch-indep): Prepend $(srcdir)/ to lisp.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in index a9664fcba7f..c69ab254349 100644 --- a/Makefile.in +++ b/Makefile.in @@ -440,13 +440,12 @@ install-arch-indep: mkdir info if test "`echo DOC-*`" != "DOC-*"; then rm DOC; fi); \ else true; fi -unset CDPATH; \ - if [ -r ./lisp ] \ - && [ -r ./lisp/simple.el ] \ - && [ x`(cd ./lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ] \ - && [ x`(cd ${srcdir}/lisp; /bin/pwd)` != x`(cd ./lisp; /bin/pwd)` ]; \ + if [ -r ${srcdir}/lisp ] \ + && [ -r ${srcdir}/lisp/simple.el ] \ + && [ x`(cd ${srcdir}/lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ]; \ then \ echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \ - (cd lisp; tar -chf - *.el *.elc) \ + (cd ${srcdir}/lisp; tar -chf - *.el *.elc) \ |(cd ${lispdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \ (cd ${lispdir}; find . -exec chown $${LOGNAME} {} ';') ; \ else true; fi |