summaryrefslogtreecommitdiffstats
path: root/share/zoneinfo
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-10-19 20:38:49 +0000
committerru <ru@FreeBSD.org>2004-10-19 20:38:49 +0000
commitffa28768e364d86d3280404668ece03292c302f2 (patch)
tree36b57a67eb9ffd27ee2c7658cf34895e0b106b8d /share/zoneinfo
parent0242673259385b9108f1b5ec73970bce50e8ac92 (diff)
downloadFreeBSD-src-ffa28768e364d86d3280404668ece03292c302f2.zip
FreeBSD-src-ffa28768e364d86d3280404668ece03292c302f2.tar.gz
- Removed the .CURDIR/.OBJDIR magic, it is not necessary here.
- Let the built-in sys.mk rule produce the "yearistype" script. - Install zone files with mode 444 (now that the -m option of zic(8) has been fixed).
Diffstat (limited to 'share/zoneinfo')
-rw-r--r--share/zoneinfo/Makefile14
1 files changed, 2 insertions, 12 deletions
diff --git a/share/zoneinfo/Makefile b/share/zoneinfo/Makefile
index bd7ea0b..d60882d 100644
--- a/share/zoneinfo/Makefile
+++ b/share/zoneinfo/Makefile
@@ -16,23 +16,13 @@ POSIXRULES= America/New_York
TZFILES+= backward
.endif
-.if exists(${.OBJDIR}/yearistype)
-YEARISTYPE= ${.OBJDIR}/yearistype
-.else
-YEARISTYPE= ${.CURDIR}/yearistype
-.endif
-
all: yearistype
-yearistype: yearistype.sh
- cp ${.ALLSRC} ${.TARGET}
- chmod +x ${.TARGET}
-
beforeinstall:
umask 022; cd ${.CURDIR}; \
zic -D -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \
- -u ${BINOWN} -g ${BINGRP} \
- ${LEAPFILE} -y ${YEARISTYPE} ${TZFILES}
+ -u ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
+ ${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES}
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${.CURDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/
OpenPOWER on IntegriCloud