Subject: bin/7342: defines no `all' target when MKINFO=no
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/08/1999 00:55:12
>Number:         7342
>Category:       bin
>Synopsis: defines no `all' target when MKINFO=no
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr  8 00:05:00 1999
>Originator:     Miles Nordin
Miles Nordin / 1-888-857-2723
555 Bryant Street #182 / Palo Alto, CA 94301-1700
>Release:        current-19990405
Reproduced on NetBSD-current on SPARC and Alpha, but almost certainly applies
to any port.
System: NetBSD frannie 1.4_ALPHA NetBSD 1.4_ALPHA (FRANNIE) #1: Tue Apr 6 18:00:33 MDT 1999 carton@frannie:/usr/src/sys/arch/alpha/compile/FRANNIE alpha

	my build of the system failed with `don't know how to make all.' 
	in a directory that contained only an .info file and no other 
	sources (gnu/libexec/uucp/doc).  The Makefile includes, 
	and I was running the build with MKSHARE=no.
$ cd gnu/libexec/uucp/doc
$ export MKINFO=no; make
make: don't know how to make all. Stop
I don't fully understand the BSD Makefile system, and since my build is 
still running, this fix may cause a problem elsewhere.  However, i am 
sure it is a very simple problem, so if i've made a mistake it's probably 
obvious.  if my build fails, i will ammend this bug report.  the build 
will finish within five days.

RCS file: /usr/cvsroot/netbsd/src/share/mk/,v
retrieving revision
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
---	1999/03/12 23:11:59
+++	1999/04/08 06:32:26	1.2
@@ -37,16 +37,12 @@
-.if ${MKINFO} != "no"
 all: ${INFOFILES}
 	rm -f ${INFOFILES}
-cleaninfo infoinstall:
+all cleaninfo infoinstall:
 .include <>