1994-09-13 22:02:46 +00:00
|
|
|
# $Id: Makefile,v 1.6 1994/09/13 21:54:06 wollman Exp $
|
1994-09-13 21:54:06 +00:00
|
|
|
|
|
|
|
NOBIN=
|
|
|
|
CLEANFILES+= yearistype
|
|
|
|
|
|
|
|
.if defined(LEAPSECONDS)
|
|
|
|
LEAPFILE= leapseconds
|
|
|
|
.else
|
|
|
|
LEAPFILE= /dev/null
|
|
|
|
.endif
|
|
|
|
|
|
|
|
TZFILES= africa antarctica asia australasia etcetera europe \
|
1994-09-13 22:02:46 +00:00
|
|
|
factory northamerica southamerica systemv
|
1994-09-13 21:54:06 +00:00
|
|
|
POSIXRULES= America/New_York
|
|
|
|
|
|
|
|
.if defined(OLDTIMEZONES)
|
|
|
|
TZFILES+= backward
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if exists(${.CURDIR}/obj/.)
|
|
|
|
YEARISTYPE=${.CURDIR}/obj/yearistype
|
|
|
|
.else
|
|
|
|
YEARISTYPE=${.CURDIR}/yearistype
|
|
|
|
.endif
|
|
|
|
|
|
|
|
all: yearistype
|
|
|
|
depend:
|
|
|
|
|
|
|
|
yearistype: yearistype.sh
|
|
|
|
cp ${.CURDIR}/yearistype.sh yearistype
|
|
|
|
chmod +x yearistype
|
|
|
|
|
|
|
|
afterinstall: yearistype
|
|
|
|
umask 022; cd ${.CURDIR}; \
|
|
|
|
zic -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \
|
|
|
|
-L ${LEAPFILE} -y ${YEARISTYPE} ${TZFILES}
|
|
|
|
chown -R bin.bin ${DESTDIR}/usr/share/zoneinfo/*
|
1994-05-30 19:09:18 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|