mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-22 17:24:23 +01:00
cadbe55eb2
now identical with the distributed versions, which may cause some abbreviations to change for people in obscure zones. (The abbreviations can be changed again if need be.) It also changes the abbreviation of Central European Time to `CET' from its previous value of `MET' (a curious German-English hybrid). Finally, we have finally rid ourselves of those nasty ZONE-DESCR comments, which were a maintenance nightmare, in favor of the new zone.tab file. We are not using the distribution's iso3166.tab file because we have our own list. Obtained from: Arthur David Olson; ftp://elsie.nci.nih.gov
42 lines
901 B
Makefile
42 lines
901 B
Makefile
# $Id: Makefile,v 1.9 1996/06/24 04:24:19 jkh 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/*
|
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/zone.tab \
|
|
${DESTDIR}/usr/share/zoneinfo
|
|
|
|
.include <bsd.prog.mk>
|