diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-04-14 21:04:42 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-04-14 21:04:42 +0000 |
commit | c41790fef1cb2ed2cad05aa6c9ff83de183593e3 (patch) | |
tree | 843135ddb784aa6430401ed2b918689a6b439550 /share/zoneinfo | |
parent | 996e1d4975f2fa19ea8731e0fef36171e535f820 (diff) | |
download | FreeBSD-src-c41790fef1cb2ed2cad05aa6c9ff83de183593e3.zip FreeBSD-src-c41790fef1cb2ed2cad05aa6c9ff83de183593e3.tar.gz |
Rework META_TARGETS so that it automatically adds META_DEPS to the targets.
This will only be done if the target is defined, so if the target is
defined after bsd.sys.mk is included then it needs to manually add
${META_DEPS} still.
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share/zoneinfo')
-rw-r--r-- | share/zoneinfo/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/zoneinfo/Makefile b/share/zoneinfo/Makefile index 1ca7ea6..356d0ad 100644 --- a/share/zoneinfo/Makefile +++ b/share/zoneinfo/Makefile @@ -72,7 +72,7 @@ all: zoneinfo .endif META_TARGETS+= zoneinfo install-zoneinfo -zoneinfo: yearistype ${TDATA} ${META_DEPS} +zoneinfo: yearistype ${TDATA} mkdir -p ${TZBUILDDIR} cd ${TZBUILDDIR}; mkdir -p ${TZBUILDSUBDIRS} umask 022; cd ${.CURDIR}; \ @@ -80,7 +80,7 @@ zoneinfo: yearistype ${TDATA} ${META_DEPS} ${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES} beforeinstall: install-zoneinfo -install-zoneinfo: ${META_DEPS} +install-zoneinfo: cd ${TZBUILDDIR} && \ find -s * -type f -print -exec ${INSTALL} \ -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ |