4 # HOW TO UPDATE THE ZONEINFO DATA
6 # In a clean directory, unpack the distribution archive and run:
8 # $ cvs -d :ext:ncvs.freebsd.org:/home/ncvs import -b 1.1.2 \
9 # src/share/zoneinfo ADO tzdataYYYYt
11 # where YYYYt is the year and the version of the distribution, for
14 # Then go to the checked out source, and merge the changes from the
15 # previous tag to the new tag in the HEAD:
17 # $ cd ../src/share/zoneinfo
18 # $ cvs update -jtzdataYYYYp -j tzdataYYYYt
24 # And push it back into CVS:
29 CLEANFILES+= yearistype
31 .if defined(LEAPSECONDS)
32 LEAPFILE= -L leapseconds
37 TZFILES= africa antarctica asia australasia etcetera europe \
38 factory northamerica southamerica
39 POSIXRULES= America/New_York
41 .if defined(OLDTIMEZONES)
42 TZFILES+= backward systemv
48 umask 022; cd ${.CURDIR}; \
49 zic -D -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \
50 -u ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
51 ${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES}
52 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
53 ${.CURDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/
55 .include <bsd.prog.mk>