1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1994-09-13 21:54:06 +00:00
|
|
|
|
2007-10-08 21:16:38 +00:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
#
|
|
|
|
|
1994-09-13 21:54:06 +00:00
|
|
|
CLEANFILES+= yearistype
|
|
|
|
|
|
|
|
.if defined(LEAPSECONDS)
|
1995-11-16 02:00:38 +00:00
|
|
|
LEAPFILE= -L leapseconds
|
1994-09-13 21:54:06 +00:00
|
|
|
.else
|
1995-11-16 02:00:38 +00:00
|
|
|
LEAPFILE=
|
1994-09-13 21:54:06 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
TZFILES= africa antarctica asia australasia etcetera europe \
|
2005-08-31 01:33:26 +00:00
|
|
|
factory northamerica southamerica
|
1994-09-13 21:54:06 +00:00
|
|
|
POSIXRULES= America/New_York
|
|
|
|
|
|
|
|
.if defined(OLDTIMEZONES)
|
2005-08-31 01:33:26 +00:00
|
|
|
TZFILES+= backward systemv
|
1994-09-13 21:54:06 +00:00
|
|
|
.endif
|
|
|
|
|
1997-03-09 09:41:44 +00:00
|
|
|
all: yearistype
|
1994-09-13 21:54:06 +00:00
|
|
|
|
1997-03-09 09:41:44 +00:00
|
|
|
beforeinstall:
|
1994-09-13 21:54:06 +00:00
|
|
|
umask 022; cd ${.CURDIR}; \
|
2001-09-11 14:27:11 +00:00
|
|
|
zic -D -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \
|
2004-10-19 20:38:49 +00:00
|
|
|
-u ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
|
|
|
|
${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES}
|
2002-07-29 09:40:17 +00:00
|
|
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
|
1997-03-09 09:41:44 +00:00
|
|
|
${.CURDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/
|
|
|
|
|
1994-05-30 19:09:18 +00:00
|
|
|
.include <bsd.prog.mk>
|