Subject: misc/4350: make in /usr/src/share/man with NOMAN= set fails
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rkboni@concentric.net>
List: netbsd-bugs
Date: 10/25/1997 19:23:03
>Number:         4350
>Category:       misc
>Synopsis:       make in /usr/src/share/man with NOMAN= set fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 25 16:05:03 1997
>Last-Modified:
>Originator:     Rafal Boni
>Organization:
Procrastinators International, Inc.
>Release:        today (10/25)
>Environment:
	
System: NetBSD doppelganger 1.2G NetBSD 1.2G (DOPPELGANGER) #0: Sun Oct 19 22:20:50 EDT 1997 rafal@doppelganger:/home/doppelganger/src/current/src/sys/arch/i386/compile/DOPPELGANGER i386


>Description:
	make in /usr/src/share/man/man1 fails with:
		make: don't know how to make all. Stop
		*** Error code 2
	
	if NOMAN is set in the environment.

>How-To-Repeat:
	setenv NOMAN 
	cd /usr/src/share/man/man1
	make

>Fix:

define the "all:" target even if NOMAN is set.

--- bsd.man.mk	Sat Oct 11 08:45:47 1997
+++ /usr/share/mk/bsd.man.mk	Sat Oct 25 19:17:56 1997
@@ -139,6 +139,8 @@
 .if defined(CATPAGES)
 .if !defined(NOMAN)
 all: ${CATPAGES}
+.else
+all:
 .endif
 
 cleanman:
>Audit-Trail:
>Unformatted: