1996-11-29 13:54:10 +01:00
|
|
|
# $Id: Makefile,v 1.11 1996/11/27 23:32:10 ache Exp $
|
1994-09-13 23:54:06 +02:00
|
|
|
|
|
|
|
NOBIN=
|
|
|
|
CLEANFILES+= yearistype
|
|
|
|
|
|
|
|
.if defined(LEAPSECONDS)
|
1995-11-16 03:00:38 +01:00
|
|
|
LEAPFILE= -L leapseconds
|
1994-09-13 23:54:06 +02:00
|
|
|
.else
|
1995-11-16 03:00:38 +01:00
|
|
|
LEAPFILE=
|
1994-09-13 23:54:06 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
TZFILES= africa antarctica asia australasia etcetera europe \
|
1994-09-14 00:02:46 +02:00
|
|
|
factory northamerica southamerica systemv
|
1994-09-13 23:54:06 +02:00
|
|
|
POSIXRULES= America/New_York
|
|
|
|
|
|
|
|
.if defined(OLDTIMEZONES)
|
|
|
|
TZFILES+= backward
|
|
|
|
.endif
|
|
|
|
|
1996-06-24 06:26:21 +02:00
|
|
|
.if exists(${.OBJDIR}/yearistype)
|
|
|
|
YEARISTYPE=${.OBJDIR}/yearistype
|
1994-09-13 23:54:06 +02:00
|
|
|
.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} \
|
1995-11-16 03:00:38 +01:00
|
|
|
${LEAPFILE} -y ${YEARISTYPE} ${TZFILES}
|
1994-09-13 23:54:06 +02:00
|
|
|
chown -R bin.bin ${DESTDIR}/usr/share/zoneinfo/*
|
1996-11-29 13:54:10 +01:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/zone.tab \
|
1996-11-19 20:17:19 +01:00
|
|
|
${DESTDIR}/usr/share/zoneinfo
|
1994-05-30 21:09:18 +02:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|