]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - share/zoneinfo/Makefile
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / share / zoneinfo / Makefile
1 # $FreeBSD$
2
3 #
4 # HOW TO UPDATE THE ZONEINFO DATA
5 #
6 # In a clean directory, unpack the distribution archive and run:
7 #
8 # $ cvs -d :ext:ncvs.freebsd.org:/home/ncvs import -b 1.1.2 \
9 #       src/share/zoneinfo ADO tzdataYYYYt
10 #
11 # where YYYYt is the year and the version of the distribution, for
12 # example 2004h.
13 #
14 # Then go to the checked out source, and merge the changes from the
15 # previous tag to the new tag in the HEAD:
16 #
17 # $ cd ../src/share/zoneinfo
18 # $ cvs update -jtzdataYYYYp -j tzdataYYYYt
19 #
20 # Update it again:
21
22 # $ cvs update
23 #
24 # And push it back into CVS:
25 #
26 # $ cvs ci
27 #
28
29 CLEANFILES+=    yearistype
30
31 .if defined(LEAPSECONDS)
32 LEAPFILE=       -L leapseconds
33 .else
34 LEAPFILE=
35 .endif
36
37 TZFILES=        africa antarctica asia australasia etcetera europe \
38                 factory northamerica southamerica
39 POSIXRULES=     America/New_York
40
41 .if defined(OLDTIMEZONES)
42 TZFILES+=       backward systemv
43 .endif
44
45 all: yearistype
46
47 beforeinstall:
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/
54
55 .include <bsd.prog.mk>