Module Name:    src
Committed By:   christos
Date:           Thu Oct 20 17:39:08 UTC 2016

Modified Files:
        src/usr.sbin/zdump: Makefile

Log Message:
we keep version in a separate file now


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/zdump/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/zdump/Makefile
diff -u src/usr.sbin/zdump/Makefile:1.11 src/usr.sbin/zdump/Makefile:1.12
--- src/usr.sbin/zdump/Makefile:1.11	Fri Oct  7 11:30:01 2016
+++ src/usr.sbin/zdump/Makefile	Thu Oct 20 13:39:08 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2016/10/07 15:30:01 christos Exp $
+#	$NetBSD: Makefile,v 1.12 2016/10/20 17:39:08 christos Exp $
 
 .include "${.PARSEDIR}/../zic/Makefile.inc"
 .include <bsd.own.mk>
@@ -7,7 +7,7 @@ PROG=	zdump
 SRCS=	zdump.c
 MAN=	zdump.8
 
-TZVERSION!= ${TOOL_SED} -ne 's/^VERSION=[ 	]*//p' ${NETBSDSRCDIR}/lib/libc/time/Makefile
+TZVERSION!= ${TOOL_CAT} ${NETBSDSRCDIR}/lib/libc/time/version
 CPPFLAGS+=-DPKGVERSION='"(tzcode) "' -DTZVERSION='"${TZVERSION}"'
 
 COPTS.zdump.c += -Wno-format-nonliteral

Reply via email to