NetBSD Problem Report #9120
Received: (qmail 14142 invoked from network); 4 Jan 2000 23:29:19 -0000
Message-Id: <200001042329.AAA11796@abro.ericsson.se>
Date: Wed, 5 Jan 2000 00:29:16 +0100 (MET)
From: Michael.Eriksson@era-t.ericsson.se (Michael Eriksson T/K 2)
Reply-To: Michael.Eriksson@era-t.ericsson.se
To: gnats-bugs@gnats.netbsd.org
Cc: eramore@era-t.ericsson.se
Subject: make readme-all fails if README-all.html doesn't exist
X-Send-Pr-Version: 3.95
>Number: 9120
>Category: pkg
>Synopsis: make readme-all fails if README-all.html doesn't exist
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: hubertf
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 04 15:30:01 +0000 2000
>Closed-Date: Tue Jan 04 23:45:31 +0000 2000
>Last-Modified: Tue Jan 04 23:46:40 +0000 2000
>Originator: Michael Eriksson
>Release: Doesn't matter
>Organization:
Ericsson Radio System AB
>Environment:
System: NetBSD burken 1.4P NetBSD 1.4P (EMT) #0: Mon Dec 27 11:11:51 CET 1999 eramore@burken:/var/home/eramore/wrk/maestro2/sys/arch/i386/compile/EMT i386
>Description:
There's a bug in the top-level pkgsrc Makefile, so initial creation of
README-all.html is impossible without manual invention.
>How-To-Repeat:
% cd /usr/pkgsrc
% make readme-all
*** Error code 1
Stop.
%
>Fix:
--- Makefile.orig Thu Oct 28 00:27:31 1999
+++ Makefile Wed Jan 5 00:25:05 2000
@@ -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 ; \
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->hubertf
Responsible-Changed-By: hubertf
Responsible-Changed-When: Tue Jan 4 15:42:42 PST 2000
Responsible-Changed-Why:
i'll handle this
.
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
To: Michael Eriksson T/K 2 <Michael.Eriksson@era-t.ericsson.se>
Cc: gnats-bugs@gnats.netbsd.org, eramore@era-t.ericsson.se
Subject: Re: pkg/9120: make readme-all fails if README-all.html doesn't exist
Date: Wed, 5 Jan 2000 00:42:17 +0100 (MET)
On Wed, 5 Jan 2000, Michael Eriksson T/K 2 wrote:
> - @[ -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
This seems equivalent to me, and in both cases a missing README-all.html
file should be handled properly. Or what am I missing here?
- Hubert
State-Changed-From-To: open->closed
State-Changed-By: hubertf
State-Changed-When: Tue Jan 4 15:45:31 PST 2000
State-Changed-Why:
Please ignore my other mail, I see the problem now.
I've applied your fix - thanks!
- Hubert
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.