From: Eli Zaretskii Date: Sat, 28 Jul 2007 08:13:00 +0000 (+0000) Subject: (install-arch-indep): Use "rm -f" for removing DOC, to avoid an error message X-Git-Tag: emacs-pretest-23.0.90~11665 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=664a406f0202130158ff4540f453f5e5385fc41b;p=emacs.git (install-arch-indep): Use "rm -f" for removing DOC, to avoid an error message if there is no DOC there. --- diff --git a/ChangeLog b/ChangeLog index f4780bbb768..f6a4b9e426d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-07-28 Eli Zaretskii + + * 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 * Relicense all FSF files to GPLv3 or later. diff --git a/Makefile.in b/Makefile.in index 8f4ba68c178..ec93805a0e9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 ] \