Kill token ring remainder.
[dragonfly/port-amd64.git] / share / zoneinfo / Makefile
blob9d05e65dba8520b3c9bbae3a71f6ccc56cb41ccf
1 # $FreeBSD: src/share/zoneinfo/Makefile,v 1.16.2.3 2002/08/07 16:31:52 ru Exp $
2 # $DragonFly: src/share/zoneinfo/Makefile,v 1.2 2003/06/17 04:37:04 dillon Exp $
4 CLEANFILES+= yearistype
6 .if defined(LEAPSECONDS)
7 LEAPFILE= -L leapseconds
8 .else
9 LEAPFILE=
10 .endif
12 TZFILES= africa antarctica asia australasia etcetera europe \
13 factory northamerica southamerica systemv
14 POSIXRULES= America/New_York
16 .if defined(OLDTIMEZONES)
17 TZFILES+= backward
18 .endif
20 .if exists(${.OBJDIR}/yearistype)
21 YEARISTYPE= ${.OBJDIR}/yearistype
22 .else
23 YEARISTYPE= ${.CURDIR}/yearistype
24 .endif
26 all: yearistype
28 yearistype: yearistype.sh
29 cp ${.ALLSRC} ${.TARGET}
30 chmod +x ${.TARGET}
32 beforeinstall:
33 umask 022; cd ${.CURDIR}; \
34 zic -D -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \
35 -u ${BINOWN} -g ${BINGRP} \
36 ${LEAPFILE} -y ${YEARISTYPE} ${TZFILES}
37 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
38 ${.CURDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/
40 .include <bsd.prog.mk>