1# $Id: Makefile,v 1.6 1994/09/13 21:54:06 wollman Exp $ 2 3NOBIN= 4CLEANFILES+= yearistype 5 6.if defined(LEAPSECONDS) 7LEAPFILE= leapseconds 8.else 9LEAPFILE= /dev/null 10.endif 11 12TZFILES= africa antarctica asia australasia etcetera europe \ 13 factory northamerica southamerica systemv 14POSIXRULES= America/New_York 15 16.if defined(OLDTIMEZONES) 17TZFILES+= backward 18.endif 19 20.if exists(${.CURDIR}/obj/.) 21YEARISTYPE=${.CURDIR}/obj/yearistype 22.else 23YEARISTYPE=${.CURDIR}/yearistype 24.endif 25 26all: yearistype 27depend: 28 29yearistype: yearistype.sh 30 cp ${.CURDIR}/yearistype.sh yearistype 31 chmod +x yearistype 32 33afterinstall: yearistype 34 umask 022; cd ${.CURDIR}; \ 35 zic -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \ 36 -L ${LEAPFILE} -y ${YEARISTYPE} ${TZFILES} 37 chown -R bin.bin ${DESTDIR}/usr/share/zoneinfo/* 38 39.include <bsd.prog.mk> 40