From: Juanma Barranquero Date: Mon, 11 Nov 2002 09:03:08 +0000 (+0000) Subject: (install-arch-indep): Prepend $(srcdir)/ to lisp. X-Git-Tag: ttn-vms-21-2-B4~12520 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=25a6f6573eb5c328d255d24ee4bbbff83c91bb48;p=emacs.git (install-arch-indep): Prepend $(srcdir)/ to lisp. --- 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