Commit 10db7fc5 authored by Gerd Moellmann's avatar Gerd Moellmann

Ignore exit status of `unset CDPATH' everywhwere.

On FreeBSD, the exiit status is 1 if CDPATH is not set.
parent 68b283cc
2000-05-25 Gerd Moellmann <gerd@gnu.org>
* Makefile.in: Ignore exit status of `unset CDPATH' everywhere.
On FreeBSD, the exit status is 1 if CDPATH is not set.
2000-05-20 NIIBE Yutaka <gniibe@mri.co.jp>
* configure.in: Check for grandpt and getpt.
......
......@@ -305,7 +305,7 @@ install-arch-dep: mkdir
-chmod 1755 ${bindir}/emacs-${version}
rm -f ${bindir}/$(EMACS)
-ln ${bindir}/emacs-${version} ${bindir}/$(EMACS)
unset CDPATH; \
-unset CDPATH; \
for f in `cd lib-src && echo fns-*.el`; do \
${INSTALL_DATA} lib-src/$$f ${archlibdir}/$$f; \
done
......@@ -319,7 +319,7 @@ install-arch-dep: mkdir
## as a workaround for a bug in tar on Ultrix 4.2.
install-arch-indep: mkdir info
-set ${COPYDESTS} ; \
unset CDPATH; \
-unset CDPATH; \
for dir in ${COPYDIR} ; do \
if [ `(cd $$1 && /bin/pwd)` != `(cd $${dir} && /bin/pwd)` ] ; then \
rm -rf $$1 ; \
......@@ -329,7 +329,7 @@ install-arch-indep: mkdir info
-set ${COPYDESTS} ; \
mkdir ${COPYDESTS} ; \
chmod ugo+rx ${COPYDESTS} ; \
unset CDPATH; \
-unset CDPATH; \
for dir in ${COPYDIR} ; do \
dest=$$1 ; shift ; \
[ -d $${dir} ] \
......@@ -368,7 +368,7 @@ install-arch-indep: mkdir info
> ${datadir}/emacs/site-lisp/subdirs.el; \
fi
-chmod a+r ${datadir}/emacs/site-lisp/subdirs.el
unset CDPATH; \
-unset CDPATH; \
if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \
then \
echo "Copying etc/DOC-* to ${docdir} ..." ; \
......@@ -376,7 +376,7 @@ install-arch-indep: mkdir info
|(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null); \
(cd $(docdir); chmod a+r DOC*; rm DOC); \
else true; fi
unset CDPATH; \
-unset CDPATH; \
if [ -r ./lisp ] \
&& [ -r ./lisp/simple.el ] \
&& [ x`(cd ./lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ] \
......@@ -386,7 +386,7 @@ install-arch-indep: mkdir info
(cd lisp; tar -cf - *.el *.elc) \
|(cd ${lispdir}; umask 0; tar -xvf - && cat > /dev/null); \
else true; fi
unset CDPATH; \
-unset CDPATH; \
thisdir=`/bin/pwd`; \
if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \
then \
......@@ -458,7 +458,7 @@ uninstall:
$(MAKE) $(MFLAGS) uninstall \
prefix=${prefix} exec_prefix=${exec_prefix} \
bindir=${bindir} libexecdir=${libexecdir} archlibdir=${archlibdir})
unset CDPATH; \
-unset CDPATH; \
for dir in ${lispdir} ${etcdir} ; do \
if [ -d $${dir} ]; then \
case `(cd $${dir} ; /bin/pwd)` in \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment