]> code.delx.au - gnu-emacs/commitdiff
(install-arch-indep): Do not remove DOC file
authorKim F. Storm <storm@cua.dk>
Mon, 26 Aug 2002 10:11:44 +0000 (10:11 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 26 Aug 2002 10:11:44 +0000 (10:11 +0000)
when it is the only DOC file installed; this is the case when
CANNOT_DUMP is defined.  From Joe Buehler (tiny change).

Makefile.in

index 5ed18cf1954078b8af936e3a8772f043c05c42d1..577d5fb94e8274a8e6470765711244300f122767 100644 (file)
@@ -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 ] \