Subject: misc/10889: "make -n" broken, in spots
To: None <gnats-bugs@gnats.netbsd.org>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-bugs
Date: 08/23/2000 21:02:15
>Number:         10889
>Category:       misc
>Synopsis:       "make -n" broken, in spots
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 23 21:03:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Frederick Bruckman
>Release:        NetBSD-1.5_ALPHA2
>Organization:


Frederick
>Environment:
	
System: NetBSD fiona.home 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (FIONA) #7:
Sun Aug 13 02:45:18 CDT 2000 fredb@fiona.home:
/s/src-netbsd-1-5/sys/arch/i386/compile/FIONA i386


>Description:
	
	The __recurse macro in bsd.lib.mk does some funny stuff with the
	"all-*" targets. Affected subdirectories give the error: 

	"make: don't know how to make echo. Stop"

>How-To-Repeat:
	

	cd /usr/src/gnu/usr.bin/binutils; make -n
		
		or

	cd /usr/src/gnu/usr.sbin/sendmail; make -n
>Fix:
	
	Not sure. Is the __recurse macro taking arguments like "all-sendmail"
	just to print "all ===> sendmail"? Maybe it would work better to use a
	different separator character, else unwrap the macro.

	Don't know when this got broken. I could have sworn "make -n" worked
	at one time in binutils.

>Release-Note:
>Audit-Trail:
>Unformatted: