From: Eli Zaretskii Date: Sat, 28 Jul 2007 08:11:17 +0000 (+0000) Subject: (install-arch-indep): Use "rm -f" for removing DOC, to avoid an error message X-Git-Tag: emacs-pretest-22.1.90~1156 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5311e2710bc28175fbfba99177f2ae2460024a43;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 02f9513a5bc..306a37fd48a 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 2959c9d7e12..502e653ccec 100644 --- a/Makefile.in +++ b/Makefile.in @@ -478,7 +478,7 @@ install-arch-indep: mkdir info (cd ./etc; tar -chf - DOC*) \ |(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 ] \