Rework how MAKEVERBOSE operates:

*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
This commit is contained in:
lukem 2003-10-21 10:01:19 +00:00
parent f8f1b72461
commit c77e1a0b77

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2003/10/19 06:12:07 lukem Exp $
# $NetBSD: Makefile,v 1.8 2003/10/21 10:01:22 lukem Exp $
NOLINT= # defined
NOPIC= # defined
@ -10,8 +10,7 @@ SRCS= cmp.c device.c dl.c file.c get.c log.c loop-bsd.c mopdef.c nma.c pf.c \
CLEANFILES= version.c
version.c: VERSION
${_MKMSGCREATE}
${_MKCMD}\
${_MKTARGET_CREATE}
rm -f version.c; \
sed 's/.*/char version[] = "&";/' ${.ALLSRC} > version.c