From: Kim F. Storm Date: Mon, 26 Aug 2002 10:11:44 +0000 (+0000) Subject: (install-arch-indep): Do not remove DOC file X-Git-Tag: ttn-vms-21-2-B4~13562 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7869ed758ff2f0fe2cc76a1cc05f69255c8a640f;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 5ed18cf1954..577d5fb94e8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -436,7 +436,8 @@ install-arch-indep: mkdir info echo "Copying etc/DOC-* to ${docdir} ..." ; \ (cd ./etc; tar -chf - DOC*) \ |(cd ${docdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \ - (cd $(docdir); chown $${LOGNAME} DOC*; chmod a+r DOC*; rm DOC); \ + (cd $(docdir); chown $${LOGNAME} DOC*; chmod a+r DOC*; \ + if test "`echo DOC-*`" != "DOC-*"; then rm DOC; fi); \ else true; fi -unset CDPATH; \ if [ -r ./lisp ] \