From 5311e2710bc28175fbfba99177f2ae2460024a43 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 28 Jul 2007 08:11:17 +0000 Subject: [PATCH] (install-arch-indep): Use "rm -f" for removing DOC, to avoid an error message if there is no DOC there. --- ChangeLog | 5 +++++ Makefile.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 ] \ -- 2.39.2