mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
DIRDEPS_BUILD: Reduce restaging here.
This also fixes meta tracking for the beforeinstall since it had been marked .PHONY before (in bsd.sys.mk). Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
5e8745cc86
commit
bffd819972
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296698
|
@ -70,22 +70,27 @@ TZBUILDSUBDIRS= \
|
|||
.if !defined(_SKIP_BUILD)
|
||||
all: zoneinfo
|
||||
.endif
|
||||
META_COOKIES+= zoneinfo install-zoneinfo
|
||||
|
||||
.PHONY: zoneinfo
|
||||
zoneinfo: yearistype ${TDATA}
|
||||
zoneinfo: yearistype ${TDATA} ${META_NOPHONY}
|
||||
${META_COOKIE_RM}
|
||||
mkdir -p ${TZBUILDDIR}
|
||||
cd ${TZBUILDDIR}; mkdir -p ${TZBUILDSUBDIRS}
|
||||
umask 022; cd ${.CURDIR}; \
|
||||
zic -D -d ${TZBUILDDIR} -p ${POSIXRULES} -m ${NOBINMODE} \
|
||||
${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES}
|
||||
${META_COOKIE_TOUCH}
|
||||
|
||||
beforeinstall:
|
||||
beforeinstall: install-zoneinfo
|
||||
install-zoneinfo: ${META_NOPHONY}
|
||||
${META_COOKIE_RM}
|
||||
cd ${TZBUILDDIR} && \
|
||||
find -s * -type f -print -exec ${INSTALL} \
|
||||
-o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
|
||||
\{} ${DESTDIR}/usr/share/zoneinfo/\{} \;
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
|
||||
${CONTRIBDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/
|
||||
${META_COOKIE_TOUCH}
|
||||
|
||||
afterinstall:
|
||||
#
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
usr.bin/xinstall.host \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
|
Loading…
Reference in a new issue