]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/zoneinfo/Makefile
There is no longer a KNOWN_DEFECTS file, so don't try to install it.
[FreeBSD/FreeBSD.git] / share / zoneinfo / Makefile
1 # $FreeBSD$
2
3 CLEANFILES+=    yearistype
4
5 .if defined(LEAPSECONDS)
6 LEAPFILE=       -L leapseconds
7 .else
8 LEAPFILE=
9 .endif
10
11 TZFILES=        africa antarctica asia australasia etcetera europe \
12                 factory northamerica southamerica systemv
13 POSIXRULES=     America/New_York
14
15 .if defined(OLDTIMEZONES)
16 TZFILES+=       backward
17 .endif
18
19 all: yearistype
20
21 beforeinstall:
22         umask 022; cd ${.CURDIR}; \
23         zic -D -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \
24             -u ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
25             ${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES}
26         ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
27             ${.CURDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/
28
29 .include <bsd.prog.mk>