Makefile revision 20015
1# $Id: Makefile,v 1.11 1996/11/27 23:32:10 ache Exp $ 2 3NOBIN= 4CLEANFILES+= yearistype 5 6.if defined(LEAPSECONDS) 7LEAPFILE= -L leapseconds 8.else 9LEAPFILE= 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(${.OBJDIR}/yearistype) 21YEARISTYPE=${.OBJDIR}/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 ${LEAPFILE} -y ${YEARISTYPE} ${TZFILES} 37 chown -R bin.bin ${DESTDIR}/usr/share/zoneinfo/* 38 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/zone.tab \ 39 ${DESTDIR}/usr/share/zoneinfo 40 41.include <bsd.prog.mk> 42