Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/zdump we keep version in a separate file now



details:   https://anonhg.NetBSD.org/src/rev/d3db8dca0a63
branches:  trunk
changeset: 348493:d3db8dca0a63
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 20 17:39:08 2016 +0000

description:
we keep version in a separate file now

diffstat:

 usr.sbin/zdump/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 913c77517f23 -r d3db8dca0a63 usr.sbin/zdump/Makefile
--- a/usr.sbin/zdump/Makefile   Thu Oct 20 17:38:28 2016 +0000
+++ b/usr.sbin/zdump/Makefile   Thu Oct 20 17:39:08 2016 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index