Makefile (198375) | Makefile (203780) |
---|---|
1# $FreeBSD: head/share/zoneinfo/Makefile 198375 2009-10-22 20:59:51Z edwin $ | 1# $FreeBSD: head/share/zoneinfo/Makefile 203780 2010-02-11 15:34:54Z nork $ |
2 3# 4# HOW TO UPDATE THE ZONEINFO DATA 5# 6# With the use of subversion, this is a little bit simpler than the CVS method. 7# 8# Import the new sources to the vendor branch: 9# --- 53 unchanged lines hidden (view full) --- 63 @if [ -f ${DESTDIR}/var/db/zoneinfo -a -O ${DESTDIR}/var/db/zoneinfo \ 64 -a -G ${DESTDIR}/var/db/zoneinfo ]; then \ 65 zf=$$(cat ${DESTDIR}/var/db/zoneinfo); \ 66 if [ -f ${DESTDIR}/usr/share/zoneinfo/$${zf} ]; then \ 67 if [ ! -z "${DESTDIR}" ]; then \ 68 optC="-C ${DESTDIR}"; \ 69 fi; \ 70 echo "Updating /etc/localtime"; \ | 2 3# 4# HOW TO UPDATE THE ZONEINFO DATA 5# 6# With the use of subversion, this is a little bit simpler than the CVS method. 7# 8# Import the new sources to the vendor branch: 9# --- 53 unchanged lines hidden (view full) --- 63 @if [ -f ${DESTDIR}/var/db/zoneinfo -a -O ${DESTDIR}/var/db/zoneinfo \ 64 -a -G ${DESTDIR}/var/db/zoneinfo ]; then \ 65 zf=$$(cat ${DESTDIR}/var/db/zoneinfo); \ 66 if [ -f ${DESTDIR}/usr/share/zoneinfo/$${zf} ]; then \ 67 if [ ! -z "${DESTDIR}" ]; then \ 68 optC="-C ${DESTDIR}"; \ 69 fi; \ 70 echo "Updating /etc/localtime"; \ |
71 tzsetup ${optC} -r; \ | 71 tzsetup $${optC} -r; \ |
72 fi; \ 73 else \ 74 echo "Run tzsetup(8) manually to update /etc/localtime."; \ 75 fi 76 77.include <bsd.prog.mk> | 72 fi; \ 73 else \ 74 echo "Run tzsetup(8) manually to update /etc/localtime."; \ 75 fi 76 77.include <bsd.prog.mk> |