summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-01-04 23:46:14 +0000
committerhubertf <hubertf@pkgsrc.org>2000-01-04 23:46:14 +0000
commit46f8efb26dad6787011e1aa654cfc90efa1eb450 (patch)
treeac97616e648406f3f876dbed4eb68398c555787e
parent1b1e203f171215b5ac8c43bd5c0c4cb71573e3f9 (diff)
downloadpkgsrc-46f8efb26dad6787011e1aa654cfc90efa1eb450.tar.gz
Rewrite moving of old README-all.html aside.
Fixes PR 9120 by Michael Eriksson T/K 2 <Michael.Eriksson@era-t.ericsson.se>
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e23111dcba1..f7ec0a4c88a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 1999/10/26 01:50:04 hubertf Exp $
+# $NetBSD: Makefile,v 1.29 2000/01/04 23:46:14 hubertf Exp $
# FreeBSD Id: Makefile,v 1.35 1997/08/19 07:10:01 fenner Exp
#
@@ -84,7 +84,9 @@ search: ${.CURDIR}/INDEX
# the category/README.html pages
#
readme-all:
- @[ -f README-all.html ] && mv README-all.html README-all.html.BAK
+ @if [ -f README-all.html ]; then \
+ mv README-all.html README-all.html.BAK ; \
+ fi
@${MAKE} README-all.html
@if cmp -s README-all.html README-all.html.BAK ; then \
mv README-all.html.BAK README-all.html ; \