we keep version in a separate file now

This commit is contained in:
christos 2016-10-20 17:39:08 +00:00
parent 3f8d0834f4
commit 294f6fea81

View File

@ -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