Makefile (203780) | Makefile (204300) |
---|---|
1# $FreeBSD: head/share/zoneinfo/Makefile 203780 2010-02-11 15:34:54Z nork $ | 1# $FreeBSD: head/share/zoneinfo/Makefile 204300 2010-02-25 06:44:16Z edwin $ |
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# --- 14 unchanged lines hidden (view full) --- 24# $ cd ~/svn/head/share/zoneinfo 25# $ svn update 26# $ svn merge -c X --accept=postpone \ 27# svn+ssh://svn.freebsd.org/base/vendor/tzdata/dist . 28# $ svn update # Commit message: "MFV of tzdata2008X" 29# 30 31CLEANFILES+= yearistype | 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# --- 14 unchanged lines hidden (view full) --- 24# $ cd ~/svn/head/share/zoneinfo 25# $ svn update 26# $ svn merge -c X --accept=postpone \ 27# svn+ssh://svn.freebsd.org/base/vendor/tzdata/dist . 28# $ svn update # Commit message: "MFV of tzdata2008X" 29# 30 31CLEANFILES+= yearistype |
32CONTRIBDIR= ${.CURDIR}/../../contrib/tzdata/ 33.PATH: ${CONTRIBDIR} |
|
32 33.if defined(LEAPSECONDS) 34LEAPFILE= -L leapseconds 35.else 36LEAPFILE= 37.endif 38 39TZFILES= africa antarctica asia australasia etcetera europe \ 40 factory northamerica southamerica 41POSIXRULES= America/New_York 42 43.if defined(OLDTIMEZONES) 44TZFILES+= backward systemv 45.endif 46 | 34 35.if defined(LEAPSECONDS) 36LEAPFILE= -L leapseconds 37.else 38LEAPFILE= 39.endif 40 41TZFILES= africa antarctica asia australasia etcetera europe \ 42 factory northamerica southamerica 43POSIXRULES= America/New_York 44 45.if defined(OLDTIMEZONES) 46TZFILES+= backward systemv 47.endif 48 |
49TZFILES:= ${TZFILES:S/^/${CONTRIBDIR}/} 50 |
|
47all: yearistype 48 49beforeinstall: 50 umask 022; cd ${.CURDIR}; \ 51 zic -D -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \ 52 -u ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ 53 ${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES} 54 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ | 51all: yearistype 52 53beforeinstall: 54 umask 022; cd ${.CURDIR}; \ 55 zic -D -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \ 56 -u ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ 57 ${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES} 58 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ |
55 ${.CURDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/ | 59 ${CONTRIBDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/ |
56 57afterinstall: 58# 59# If the file /var/db/zoneinfo exists, and it is owned by root:wheel, 60# and the contents of it exists in /usr/share/zoneinfo, then reinstall 61# it. 62# 63 @if [ -f ${DESTDIR}/var/db/zoneinfo -a -O ${DESTDIR}/var/db/zoneinfo \ --- 14 unchanged lines hidden --- | 60 61afterinstall: 62# 63# If the file /var/db/zoneinfo exists, and it is owned by root:wheel, 64# and the contents of it exists in /usr/share/zoneinfo, then reinstall 65# it. 66# 67 @if [ -f ${DESTDIR}/var/db/zoneinfo -a -O ${DESTDIR}/var/db/zoneinfo \ --- 14 unchanged lines hidden --- |