freebsd-skq/share/zoneinfo/Makefile
jkh 8eb37231d4 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00

40 lines
806 B
Makefile

# $Id: Makefile,v 1.8 1995/11/16 02:00:38 gpalmer Exp $
NOBIN=
CLEANFILES+= yearistype
.if defined(LEAPSECONDS)
LEAPFILE= -L leapseconds
.else
LEAPFILE=
.endif
TZFILES= africa antarctica asia australasia etcetera europe \
factory northamerica southamerica systemv
POSIXRULES= America/New_York
.if defined(OLDTIMEZONES)
TZFILES+= backward
.endif
.if exists(${.OBJDIR}/yearistype)
YEARISTYPE=${.OBJDIR}/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} \
${LEAPFILE} -y ${YEARISTYPE} ${TZFILES}
chown -R bin.bin ${DESTDIR}/usr/share/zoneinfo/*
.include <bsd.prog.mk>