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 | 8a080c45465fd7df641f6cd53bbdfe0cfd81b608 (patch) | |
tree | 932aff5b38bbd278e002f7a0e21c3f6e33ba6720 /Makefile.in | |
parent | 56bc2080fe7fe9093c41d797e588ab5fd178d89f (diff) | |
download | emacs-8a080c45465fd7df641f6cd53bbdfe0cfd81b608.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 ] \ |