]> git.eshelyaron.com Git - emacs.git/commitdiff
(install-arch-indep): Use "rm -f" for removing DOC, to avoid an error message
authorEli Zaretskii <eliz@gnu.org>
Sat, 28 Jul 2007 08:13:00 +0000 (08:13 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 28 Jul 2007 08:13:00 +0000 (08:13 +0000)
if there is no DOC there.

ChangeLog
Makefile.in

index f4780bbb7687409e1950848b6d0917a8dd394054..f6a4b9e426d4a26b6512311bf074ac79d4821af0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-07-28  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (install-arch-indep): Use "rm -f" for removing DOC,
+       to avoid an error message if there is no DOC there.
+
 2007-07-25  Glenn Morris  <rgm@gnu.org>
 
        * Relicense all FSF files to GPLv3 or later.
index 8f4ba68c1785b6ff84b12f5ed2b36e51bfc25b0e..ec93805a0e9ebbee40c9b41339b005afa34d4439 100644 (file)
@@ -483,7 +483,7 @@ install-arch-indep: mkdir info
           (cd ./etc; tar -chf - $${docfile}) \
             |(cd $(DESTDIR)${docdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \
           (cd $(DESTDIR)$(docdir); chown $${LOGNAME:-$$USERNAME} DOC*; chmod a+r DOC*; \
-           if test "`echo DOC-*`" != "DOC-*"; then rm DOC; fi); \
+           if test "`echo DOC-*`" != "DOC-*"; then rm -f DOC; fi); \
        else true; fi
        -unset CDPATH; \
        if [ -r ./lisp ] \