From 25a6f6573eb5c328d255d24ee4bbbff83c91bb48 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Mon, 11 Nov 2002 09:03:08 +0000 Subject: [PATCH] (install-arch-indep): Prepend $(srcdir)/ to lisp. --- Makefile.in | 9 ++++----- 1 file 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 -- 2.39.2