diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-01-04 23:46:14 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-01-04 23:46:14 +0000 |
commit | 46f8efb26dad6787011e1aa654cfc90efa1eb450 (patch) | |
tree | ac97616e648406f3f876dbed4eb68398c555787e | |
parent | 1b1e203f171215b5ac8c43bd5c0c4cb71573e3f9 (diff) | |
download | pkgsrc-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-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 ; \ |