7 CONTRIB_PATH
= ${.CURDIR
:H
:H
}/contrib
/tzcode
9 VERSION
!=cat
${CONTRIB_PATH}/version
11 .PATH
: ${CONTRIB_PATH}
13 CPPFLAGS
+= -I
${CONTRIB_PATH}
15 CPPFLAGS
+= -DTZDIR
='"/usr/share/lib/zoneinfo"'
19 'static char const PKGVERSION[]="(tzcode) ";' \
20 "static char const TZVERSION[]=\"$$VERSION\";" \
21 'static char const REPORT_BUGS_TO[]="tz@iana.org";' \
25 ${.CURDIR
}/zic
.8: ${CONTRIB_PATH}/zic
.8
27 -e
's@/usr/local/etc@/usr/share/lib@' \
31 # FIXME: This is a gross hack to generate a cleaner version of the manpage
32 # in the current directory so that the install target finds it and installs
36 CLEANFILES
+= version.h zic
.8
40 .
include <unleashed.mk
>