From: Kim F. Storm Date: Mon, 26 Aug 2002 10:15:06 +0000 (+0000) Subject: (install-arch-indep): Do not remove DOC file X-Git-Tag: emacs-pretest-21.2.91~106 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6fddff0b953c243ff47c47a7e577a04d21c71894;p=emacs.git (install-arch-indep): Do not remove DOC file when it is the only DOC file installed; this is the case when CANNOT_DUMP is defined. From Joe Buehler (tiny change). --- diff --git a/Makefile.in b/Makefile.in index 639550bd851..8fcf638d7b9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -405,7 +405,8 @@ install-arch-indep: mkdir info echo "Copying etc/DOC-* to ${docdir} ..." ; \ (cd ./etc; tar -chf - DOC*) \ |(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null) || exit 1; \ - (cd $(docdir); chmod a+r DOC*; rm DOC); \ + (cd $(docdir); chmod a+r DOC*; \ + if test "`echo DOC-*`" != "DOC-*"; then rm DOC; fi); \ else true; fi -unset CDPATH; \ if [ -r ./lisp ] \