freebsd-dev/share/zoneinfo/Makefile

56 lines
1.2 KiB
Makefile
Raw Normal View History

1999-08-28 00:22:10 +00:00
# $FreeBSD$
#
# HOW TO UPDATE THE ZONEINFO DATA
#
# In a clean directory, unpack the distribution archive and run:
#
# $ cvs -d :ext:ncvs.freebsd.org:/home/ncvs import -b 1.1.2 \
# src/share/zoneinfo ADO tzdataYYYYt
#
# where YYYYt is the year and the version of the distribution, for
# example 2004h.
#
# Then go to the checked out source, and merge the changes from the
# previous tag to the new tag in the HEAD:
#
# $ cd ../src/share/zoneinfo
# $ cvs update -jtzdataYYYYp -j tzdataYYYYt
#
# Update it again:
#
# $ cvs update
#
# And push it back into CVS:
#
# $ cvs ci
#
CLEANFILES+= yearistype
.if defined(LEAPSECONDS)
LEAPFILE= -L leapseconds
.else
LEAPFILE=
.endif
TZFILES= africa antarctica asia australasia etcetera europe \
factory northamerica southamerica
POSIXRULES= America/New_York
.if defined(OLDTIMEZONES)
TZFILES+= backward systemv
.endif
all: yearistype
beforeinstall:
umask 022; cd ${.CURDIR}; \
zic -D -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \
-u ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES}
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${.CURDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/
1994-05-30 19:09:18 +00:00
.include <bsd.prog.mk>