From c77e1a0b77ef621cb87806ffd2146daf2dfacae7 Mon Sep 17 00:00:00 2001 From: lukem Date: Tue, 21 Oct 2003 10:01:19 +0000 Subject: [PATCH] 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. --- common/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/Makefile b/common/Makefile index 5ed67a9..1d4b031 100644 --- a/common/Makefile +++ b/common/Makefile @@ -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