336c4682b6
Introduce undocumented option -d to dump parsed zonetab file contents and add a "baseline" target along with instructions on updating it. Reviewed by: philip Differential Revision: https://reviews.freebsd.org/D39634
23 lines
380 B
Makefile
23 lines
380 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PROG= tzsetup
|
|
MAN= tzsetup.8
|
|
|
|
CFLAGS+= -I.
|
|
|
|
.if !defined(BOOTSTRAPPING)
|
|
WARNS?= 3
|
|
CFLAGS+= -I${SRCTOP}/contrib/bsddialog/lib -DHAVE_BSDDIALOG
|
|
LIBADD= bsddialog
|
|
.endif
|
|
|
|
ZONETAB= ${SRCTOP}/contrib/tzdata/zone1970.tab
|
|
baseline: ${PROG} ${ZONETAB}
|
|
${.OBJDIR}/${PROG} -d ${ZONETAB} > ${.CURDIR}/baseline
|
|
|
|
.PHONY: baseline
|
|
|
|
.include <bsd.prog.mk>
|