]> git.eshelyaron.com Git - emacs.git/commitdiff
(install-arch-indep): Do not remove DOC file
authorKim F. Storm <storm@cua.dk>
Mon, 26 Aug 2002 10:15:06 +0000 (10:15 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 26 Aug 2002 10:15:06 +0000 (10:15 +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 639550bd8513791f56abe69c170d5a3469b061d8..8fcf638d7b969519f5d20f2ad2a8fc7d559aea33 100644 (file)
@@ -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 ] \