Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/public-domain/tz/share/zoneinfo Adapt to the new so...
details: https://anonhg.NetBSD.org/src/rev/8fb2e959224d
branches: trunk
changeset: 331312:8fb2e959224d
user: apb <apb%NetBSD.org@localhost>
date: Fri Aug 08 09:17:03 2014 +0000
description:
Adapt to the new source location under src/public-domain/tz.
diffstat:
external/public-domain/tz/share/zoneinfo/Makefile | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diffs (69 lines):
diff -r eb5da778aff1 -r 8fb2e959224d external/public-domain/tz/share/zoneinfo/Makefile
--- a/external/public-domain/tz/share/zoneinfo/Makefile Fri Aug 08 09:14:40 2014 +0000
+++ b/external/public-domain/tz/share/zoneinfo/Makefile Fri Aug 08 09:17:03 2014 +0000
@@ -1,6 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2014/08/08 09:06:41 apb Exp $
+# $NetBSD: Makefile,v 1.2 2014/08/08 09:17:03 apb Exp $
.include <bsd.own.mk>
+.include "../../Makefile.inc"
+
+.PATH: ${TZDISTDIR}
# If you want something other than Eastern United States time as a template
# for handling POSIX-style time zone environment variables,
@@ -44,7 +47,7 @@
REDO= posix_only
# Since "." may not be in PATH...
-YEARISTYPE= "${HOST_SH} ${.CURDIR}/yearistype.sh"
+YEARISTYPE= "${HOST_SH} ${TZDISTDIR}/yearistype.sh"
PRIMARY_YDATA= africa antarctica asia australasia \
europe northamerica southamerica
@@ -61,23 +64,23 @@
posix_only: ${TDATA}
${_MKTARGET_CREATE}
mkdir -p ${TZBUILDDIR}
- cd ${.CURDIR} && \
+ cd ${TZDISTDIR} && \
${TOOL_ZIC} -y ${YEARISTYPE} -d ${TZBUILDDIR} -L /dev/null ${TDATA}
.PHONY: right_only
right_only: leapseconds ${TDATA}
${_MKTARGET_CREATE}
mkdir -p ${TZBUILDDIR}
- cd ${.CURDIR} && \
+ cd ${TZDISTDIR} && \
${TOOL_ZIC} -y ${YEARISTYPE} -d ${TZBUILDDIR} -L leapseconds ${TDATA}
.PHONY: other_two
other_two: leapseconds ${TDATA}
${_MKTARGET_CREATE}
mkdir -p ${TZBUILDDIR}
- cd ${.CURDIR} && \
+ cd ${TZDISTDIR} && \
${TOOL_ZIC} -y ${YEARISTYPE} -d ${TZBUILDDIR}/posix -L /dev/null ${TDATA}
- cd ${.CURDIR} && \
+ cd ${TZDISTDIR} && \
${TOOL_ZIC} -y ${YEARISTYPE} -d ${TZBUILDDIR}/right -L leapseconds ${TDATA}
.PHONY: posix_right
@@ -96,7 +99,7 @@
afterinstall: ${DATA} ${REDO} ${TABDATA}
${_MKMSG_CREATE} ${POSIXRULES}
mkdir -p ${TZBUILDDIR}
- cd ${.CURDIR} && \
+ cd ${TZDISTDIR} && \
${TOOL_ZIC} -y ${YEARISTYPE} -d ${TZBUILDDIR} -p ${POSIXRULES}
cd ${TZBUILDDIR} && \
find . -type f -print | xargs ${TOOL_STAT} -qf '%d,%i %N' | sort \
@@ -133,7 +136,7 @@
done
for f in ${TABDATA}; do \
${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
- ${.CURDIR}/$$f ${DESTDIR}${TZDIR}; \
+ ${TZDISTDIR}/$$f ${DESTDIR}${TZDIR}; \
done
.else # ${MKSHARE} == "no"
afterinstall:
Home |
Main Index |
Thread Index |
Old Index