diff options
author | Kim F. Storm <storm@cua.dk> | 2002-08-26 10:11:44 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2002-08-26 10:11:44 +0000 |
commit | 7869ed758ff2f0fe2cc76a1cc05f69255c8a640f (patch) | |
tree | 6143431ec9128d72f02006c6cd085dec96ab3cdc /Makefile.in | |
parent | 6bc85c3bed9442ed8ed016cb3d84752618312fd3 (diff) | |
download | emacs-7869ed758ff2f0fe2cc76a1cc05f69255c8a640f.tar.gz |
(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).
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
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 ] \ |