summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1999-10-09 19:13:48 +0000
committerRichard M. Stallman <rms@gnu.org>1999-10-09 19:13:48 +0000
commitfd806db24aede1f431ce28019681cd3e3b264e8a (patch)
treeccc4846848a23847a5b572c49836ed9e7f777f49 /Makefile.in
parentb26b174dc715b2ab88f69287baa4449a0fca82cb (diff)
downloademacs-fd806db24aede1f431ce28019681cd3e3b264e8a.tar.gz
(uninstall, install-arch-indep, install-arch-dep):
Unset CDPATH to prevent cd from generating output.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index eaf1c4a3784..0abe54fc887 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -305,6 +305,7 @@ install-arch-dep: mkdir
-chmod 1755 ${bindir}/emacs-${version}
rm -f ${bindir}/$(EMACS)
-ln ${bindir}/emacs-${version} ${bindir}/$(EMACS)
+ unset CDPATH; \
for f in `cd lib-src && echo fns-*.el`; do \
${INSTALL_DATA} lib-src/$$f ${archlibdir}/$$f; \
done
@@ -318,6 +319,7 @@ install-arch-dep: mkdir
## as a workaround for a bug in tar on Ultrix 4.2.
install-arch-indep: mkdir
-set ${COPYDESTS} ; \
+ unset CDPATH; \
for dir in ${COPYDIR} ; do \
if [ `(cd $$1 && /bin/pwd)` != `(cd $${dir} && /bin/pwd)` ] ; then \
rm -rf $$1 ; \
@@ -327,6 +329,7 @@ install-arch-indep: mkdir
-set ${COPYDESTS} ; \
mkdir ${COPYDESTS} ; \
chmod ugo+rx ${COPYDESTS} ; \
+ unset CDPATH; \
for dir in ${COPYDIR} ; do \
dest=$$1 ; shift ; \
[ -d $${dir} ] \
@@ -365,6 +368,7 @@ install-arch-indep: mkdir
> ${datadir}/emacs/site-lisp/subdirs.el; \
fi
-chmod a+r ${datadir}/emacs/site-lisp/subdirs.el
+ unset CDPATH; \
if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \
then \
echo "Copying etc/DOC-* to ${docdir} ..." ; \
@@ -372,6 +376,7 @@ install-arch-indep: mkdir
|(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null); \
(cd $(docdir); chmod a+r DOC*; rm DOC); \
else true; fi
+ unset CDPATH; \
if [ -r ./lisp ] \
&& [ -r ./lisp/simple.el ] \
&& [ x`(cd ./lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ] \
@@ -381,6 +386,7 @@ install-arch-indep: mkdir
(cd lisp; tar -cf - *.el *.elc) \
|(cd ${lispdir}; umask 0; tar -xvf - && cat > /dev/null); \
else true; fi
+ unset CDPATH; \
thisdir=`/bin/pwd`; \
if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \
then \
@@ -398,7 +404,8 @@ install-arch-indep: mkdir
chmod a+r ${infodir}/$$f); \
done); \
else true; fi
- -thisdir=`/bin/pwd`; \
+ -unset CDPATH; \
+ thisdir=`/bin/pwd`; \
if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \
then \
for f in ada-mode ccmode cl dired-x ediff emacs forms gnus info message mh-e reftex sc vip viper widget; do \
@@ -451,6 +458,7 @@ uninstall:
$(MAKE) $(MFLAGS) uninstall \
prefix=${prefix} exec_prefix=${exec_prefix} \
bindir=${bindir} libexecdir=${libexecdir} archlibdir=${archlibdir})
+ unset CDPATH; \
for dir in ${lispdir} ${etcdir} ; do \
if [ -d $${dir} ]; then \
case `(cd $${dir} ; /bin/pwd)` in \