Rewrite moving of old README-all.html aside. trunk
authorhubertf <hubertf@pkgsrc.org>
Tue, 04 Jan 2000 23:46:14 +0000
branchtrunk
changeset 9470 180274b49d04
parent 9469 d3185d8c9c42
child 9471 7b97d2311869
Rewrite moving of old README-all.html aside. Fixes PR 9120 by Michael Eriksson T/K 2 <Michael.Eriksson@era-t.ericsson.se>
Makefile
--- a/Makefile	Tue Jan 04 21:33:57 2000 +0000
+++ b/Makefile	Tue Jan 04 23:46:14 2000 +0000
@@ -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 @@
 # 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 ; \