mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
e265b77bef
defined, it doesn't call zic with -L /dev/null, and instead doesn't use -L at all
39 lines
805 B
Makefile
39 lines
805 B
Makefile
# $Id: Makefile,v 1.7 1994/09/13 22:02:46 wollman 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(${.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} \
|
|
${LEAPFILE} -y ${YEARISTYPE} ${TZFILES}
|
|
chown -R bin.bin ${DESTDIR}/usr/share/zoneinfo/*
|
|
|
|
.include <bsd.prog.mk>
|