Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/amd/amd Support MAKEVERBOSE.



details:   https://anonhg.NetBSD.org/src/rev/f77026b06f86
branches:  trunk
changeset: 571502:f77026b06f86
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Nov 28 00:07:15 2004 +0000

description:
Support MAKEVERBOSE.
Improve build_version.h dependency, based on native Makefile.

diffstat:

 usr.sbin/amd/amd/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 71a23af4cc9e -r f77026b06f86 usr.sbin/amd/amd/Makefile
--- a/usr.sbin/amd/amd/Makefile Sat Nov 27 23:23:26 2004 +0000
+++ b/usr.sbin/amd/amd/Makefile Sun Nov 28 00:07:15 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.24 2004/11/27 14:30:46 he Exp $
+#      $NetBSD: Makefile,v 1.25 2004/11/28 00:07:15 lukem Exp $
 
 .include "${.CURDIR}/../Makefile.inc"
 
@@ -42,7 +42,8 @@
 
 get_args.o get_args.d: build_version.h
 
-build_version.h:
+build_version.h: get_args.c
+       ${_MKTARGET_CREATE}
        echo '#define AMU_BUILD_VERSION 1' > ${.TARGET}
        echo '#define BUILD_USER "'$$(whoami)'"' >> ${.TARGET}
        echo '#define BUILD_HOST "'$$(hostname)'"' >> ${.TARGET}



Home | Main Index | Thread Index | Old Index