head	1.31;
access;
symbols
	RELENG_8_4:1.31.0.2
	RELENG_9_1_0_RELEASE:1.28.2.1.4.2
	RELENG_9_1:1.28.2.1.0.4
	RELENG_9_1_BP:1.28.2.1
	RELENG_8_3_0_RELEASE:1.24.2.1.8.1
	RELENG_8_3:1.24.2.1.0.8
	RELENG_8_3_BP:1.24.2.1
	RELENG_9_0_0_RELEASE:1.28.2.1.2.1
	RELENG_9_0:1.28.2.1.0.2
	RELENG_9_0_BP:1.28.2.1
	RELENG_9:1.28.0.2
	RELENG_9_BP:1.28
	RELENG_7_4_0_RELEASE:1.22.12.1
	RELENG_8_2_0_RELEASE:1.24.2.1.6.1
	RELENG_7_4:1.22.0.12
	RELENG_7_4_BP:1.22
	RELENG_8_2:1.24.2.1.0.6
	RELENG_8_2_BP:1.24.2.1
	RELENG_8_1_0_RELEASE:1.24.2.1.4.1
	RELENG_8_1:1.24.2.1.0.4
	RELENG_8_1_BP:1.24.2.1
	RELENG_7_3_0_RELEASE:1.22.10.1
	RELENG_7_3:1.22.0.10
	RELENG_7_3_BP:1.22
	RELENG_8_0_0_RELEASE:1.24.2.1.2.1
	RELENG_8_0:1.24.2.1.0.2
	RELENG_8_0_BP:1.24.2.1
	RELENG_8:1.24.0.2
	RELENG_8_BP:1.24
	RELENG_7_2_0_RELEASE:1.22.8.1
	RELENG_7_2:1.22.0.8
	RELENG_7_2_BP:1.22
	RELENG_7_1_0_RELEASE:1.22.6.1
	RELENG_6_4_0_RELEASE:1.20.2.5.2.1
	RELENG_7_1:1.22.0.6
	RELENG_7_1_BP:1.22
	RELENG_6_4:1.20.2.5.0.2
	RELENG_6_4_BP:1.20.2.5
	RELENG_7_0_0_RELEASE:1.22
	RELENG_6_3_0_RELEASE:1.20.2.4
	RELENG_7_0:1.22.0.4
	RELENG_7_0_BP:1.22
	RELENG_6_3:1.20.2.4.0.2
	RELENG_6_3_BP:1.20.2.4
	RELENG_7:1.22.0.2
	RELENG_7_BP:1.22
	RELENG_6_2_0_RELEASE:1.20.2.1
	RELENG_6_2:1.20.2.1.0.2
	RELENG_6_2_BP:1.20.2.1
	RELENG_5_5_0_RELEASE:1.19.8.1
	RELENG_5_5:1.19.8.1.0.2
	RELENG_5_5_BP:1.19.8.1
	RELENG_6_1_0_RELEASE:1.20
	RELENG_6_1:1.20.0.6
	RELENG_6_1_BP:1.20
	RELENG_6_0_0_RELEASE:1.20
	RELENG_6_0:1.20.0.4
	RELENG_6_0_BP:1.20
	RELENG_6:1.20.0.2
	RELENG_6_BP:1.20
	RELENG_5_4_0_RELEASE:1.19
	RELENG_5_4:1.19.0.12
	RELENG_5_4_BP:1.19
	RELENG_4_11_0_RELEASE:1.16.2.3
	RELENG_4_11:1.16.2.3.0.10
	RELENG_4_11_BP:1.16.2.3
	RELENG_5_3_0_RELEASE:1.19
	RELENG_5_3:1.19.0.10
	RELENG_5_3_BP:1.19
	RELENG_5:1.19.0.8
	RELENG_5_BP:1.19
	RELENG_4_10_0_RELEASE:1.16.2.3
	RELENG_4_10:1.16.2.3.0.8
	RELENG_4_10_BP:1.16.2.3
	RELENG_5_2_1_RELEASE:1.19
	RELENG_5_2_0_RELEASE:1.19
	RELENG_5_2:1.19.0.6
	RELENG_5_2_BP:1.19
	RELENG_4_9_0_RELEASE:1.16.2.3
	RELENG_4_9:1.16.2.3.0.6
	RELENG_4_9_BP:1.16.2.3
	RELENG_5_1_0_RELEASE:1.19
	RELENG_5_1:1.19.0.4
	RELENG_5_1_BP:1.19
	RELENG_4_8_0_RELEASE:1.16.2.3
	RELENG_4_8:1.16.2.3.0.4
	RELENG_4_8_BP:1.16.2.3
	RELENG_5_0_0_RELEASE:1.19
	RELENG_5_0:1.19.0.2
	RELENG_5_0_BP:1.19
	RELENG_4_7_0_RELEASE:1.16.2.3
	RELENG_4_7:1.16.2.3.0.2
	RELENG_4_7_BP:1.16.2.3
	RELENG_4_6_2_RELEASE:1.16.2.1
	RELENG_4_6_1_RELEASE:1.16.2.1
	RELENG_4_6_0_RELEASE:1.16.2.1
	RELENG_4_6:1.16.2.1.0.4
	RELENG_4_6_BP:1.16.2.1
	RELENG_4_5_0_RELEASE:1.16.2.1
	RELENG_4_5:1.16.2.1.0.2
	RELENG_4_5_BP:1.16.2.1
	RELENG_4_4_0_RELEASE:1.16
	RELENG_4_4:1.16.0.6
	RELENG_4_4_BP:1.16
	RELENG_4_3_0_RELEASE:1.16
	RELENG_4_3:1.16.0.4
	RELENG_4_3_BP:1.16
	RELENG_4_2_0_RELEASE:1.16
	RELENG_4_1_1_RELEASE:1.16
	PRE_SMPNG:1.16
	RELENG_4_1_0_RELEASE:1.16
	RELENG_3_5_0_RELEASE:1.15.2.1
	RELENG_4_0_0_RELEASE:1.16
	RELENG_4:1.16.0.2
	RELENG_4_BP:1.16
	RELENG_3_4_0_RELEASE:1.15.2.1
	RELENG_3_3_0_RELEASE:1.15.2.1
	RELENG_3_2_PAO:1.15.0.4
	RELENG_3_2_PAO_BP:1.15
	RELENG_3_2_0_RELEASE:1.15
	RELENG_3_1_0_RELEASE:1.15
	RELENG_3:1.15.0.2
	RELENG_3_BP:1.15
	RELENG_2_2_8_RELEASE:1.9.2.3
	RELENG_3_0_0_RELEASE:1.15
	RELENG_2_2_7_RELEASE:1.9.2.3
	RELENG_2_2_6_RELEASE:1.9.2.3
	RELENG_2_2_5_RELEASE:1.9.2.2
	RELENG_2_2_2_RELEASE:1.9.2.2
	RELENG_2_2_1_RELEASE:1.9.2.2
	RELENG_2_2_0_RELEASE:1.9.2.2
	RELENG_2_1_7_RELEASE:1.7.6.1
	RELENG_2_1_6_1_RELEASE:1.7.6.1
	RELENG_2_1_6_RELEASE:1.7.6.1
	RELENG_2_2:1.9.0.2
	RELENG_2_2_BP:1.9
	RELENG_2_1_5_RELEASE:1.7.6.1
	RELENG_2_1_0_RELEASE:1.7.6.1
	RELENG_2_1_0:1.7.0.6
	RELENG_2_1_0_BP:1.7
	RELENG_2_0_5_RELEASE:1.7
	RELENG_2_0_5:1.7.0.4
	RELENG_2_0_5_BP:1.7
	RELENG_2_0_5_ALPHA:1.7
	RELEASE_2_0:1.7
	BETA_2_0:1.7
	ALPHA_2_0:1.7.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.31
date	2013.01.12.00.53.16;	author svnexp;	state Exp;
branches
	1.31.2.1;
next	1.30;

1.30
date	2013.01.11.03.04.03;	author svnexp;	state Exp;
branches;
next	1.29;

1.29
date	2012.11.17.01.51.04;	author svnexp;	state Exp;
branches;
next	1.28;

1.28
date	2010.02.25.06.44.16;	author edwin;	state Exp;
branches
	1.28.2.1;
next	1.27;

1.27
date	2010.02.11.15.34.54;	author nork;	state Exp;
branches;
next	1.26;

1.26
date	2009.10.22.20.59.51;	author edwin;	state Exp;
branches;
next	1.25;

1.25
date	2009.10.21.20.59.12;	author edwin;	state Exp;
branches;
next	1.24;

1.24
date	2008.10.14.04.09.33;	author edwin;	state Exp;
branches
	1.24.2.1;
next	1.23;

1.23
date	2008.08.08.04.37.43;	author edwin;	state Exp;
branches;
next	1.22;

1.22
date	2007.10.08.21.16.38;	author edwin;	state Exp;
branches
	1.22.2.1
	1.22.6.1
	1.22.8.1
	1.22.10.1
	1.22.12.1;
next	1.21;

1.21
date	2005.08.31.01.33.26;	author wollman;	state Exp;
branches;
next	1.20;

1.20
date	2004.10.19.20.38.49;	author ru;	state Exp;
branches
	1.20.2.1
	1.20.6.1;
next	1.19;

1.19
date	2002.07.29.09.40.14;	author ru;	state Exp;
branches
	1.19.8.1;
next	1.18;

1.18
date	2002.07.18.12.07.48;	author ru;	state Exp;
branches;
next	1.17;

1.17
date	2001.09.11.14.27.11;	author ru;	state Exp;
branches;
next	1.16;

1.16
date	99.08.28.00.22.10;	author peter;	state Exp;
branches
	1.16.2.1;
next	1.15;

1.15
date	97.03.09.09.41.44;	author bde;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	97.02.22.13.56.50;	author peter;	state Exp;
branches;
next	1.13;

1.13
date	97.01.14.06.34.48;	author jkh;	state Exp;
branches;
next	1.12;

1.12
date	96.11.29.12.54.10;	author bde;	state Exp;
branches;
next	1.11;

1.11
date	96.11.27.23.32.10;	author ache;	state Exp;
branches;
next	1.10;

1.10
date	96.11.19.19.17.09;	author wollman;	state Exp;
branches;
next	1.9;

1.9
date	96.06.24.04.24.19;	author jkh;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	95.11.16.02.00.38;	author gpalmer;	state Exp;
branches;
next	1.7;

1.7
date	94.09.13.22.02.46;	author wollman;	state Exp;
branches
	1.7.6.1;
next	1.6;

1.6
date	94.09.13.21.54.06;	author wollman;	state Exp;
branches;
next	1.5;

1.5
date	94.09.06.15.04.12;	author ache;	state Exp;
branches;
next	1.4;

1.4
date	94.08.11.01.39.23;	author jkh;	state Exp;
branches;
next	1.3;

1.3
date	94.08.11.00.54.30;	author jkh;	state Exp;
branches;
next	1.2;

1.2
date	94.08.11.00.45.38;	author jkh;	state Exp;
branches;
next	1.1;

1.1
date	94.05.30.19.09.14;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.31.2.1
date	2013.01.12.00.53.16;	author svnexp;	state dead;
branches;
next	1.31.2.2;

1.31.2.2
date	2013.03.28.13.03.55;	author svnexp;	state Exp;
branches;
next	;

1.28.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.28.2.1.2.1
	1.28.2.1.4.1;
next	1.28.2.2;

1.28.2.2
date	2012.11.17.11.36.44;	author svnexp;	state Exp;
branches;
next	1.28.2.3;

1.28.2.3
date	2013.03.15.20.09.34;	author svnexp;	state Exp;
branches;
next	;

1.28.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.28.2.1.2.2;

1.28.2.1.2.2
date	2012.11.17.08.36.43;	author svnexp;	state Exp;
branches;
next	;

1.28.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.28.2.1.4.2;

1.28.2.1.4.2
date	2012.11.17.08.47.33;	author svnexp;	state Exp;
branches;
next	;

1.24.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.24.2.1.2.1
	1.24.2.1.4.1
	1.24.2.1.6.1
	1.24.2.1.8.1;
next	1.24.2.2;

1.24.2.2
date	2012.11.17.10.36.24;	author svnexp;	state Exp;
branches;
next	;

1.24.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.24.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.24.2.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.24.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.24.2.1.8.2;

1.24.2.1.8.2
date	2012.11.17.08.25.04;	author svnexp;	state Exp;
branches;
next	;

1.22.2.1
date	2012.11.17.08.04.35;	author svnexp;	state Exp;
branches;
next	;

1.22.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.22.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.22.10.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.22.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.22.12.2;

1.22.12.2
date	2012.11.17.08.17.02;	author svnexp;	state Exp;
branches;
next	;

1.20.2.1
date	2006.05.11.04.57.28;	author wollman;	state Exp;
branches;
next	1.20.2.2;

1.20.2.2
date	2007.10.09.02.37.21;	author edwin;	state Exp;
branches;
next	1.20.2.3;

1.20.2.3
date	2007.10.10.00.09.08;	author edwin;	state Exp;
branches;
next	1.20.2.4;

1.20.2.4
date	2007.10.18.13.02.54;	author edwin;	state Exp;
branches;
next	1.20.2.5;

1.20.2.5
date	2008.03.25.03.45.51;	author edwin;	state Exp;
branches
	1.20.2.5.2.1;
next	1.20.2.6;

1.20.2.6
date	2012.11.17.07.42.13;	author svnexp;	state Exp;
branches;
next	;

1.20.2.5.2.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.20.6.1
date	2007.02.28.18.23.08;	author simon;	state Exp;
branches;
next	;

1.19.8.1
date	2005.08.31.01.37.43;	author wollman;	state Exp;
branches;
next	1.19.8.2;

1.19.8.2
date	2007.10.09.02.36.40;	author edwin;	state Exp;
branches;
next	1.19.8.3;

1.19.8.3
date	2007.10.10.00.08.46;	author edwin;	state Exp;
branches;
next	1.19.8.4;

1.19.8.4
date	2008.03.25.03.50.01;	author edwin;	state Exp;
branches;
next	;

1.16.2.1
date	2001.12.19.17.22.44;	author ru;	state Exp;
branches;
next	1.16.2.2;

1.16.2.2
date	2002.07.18.13.31.27;	author ru;	state Exp;
branches;
next	1.16.2.3;

1.16.2.3
date	2002.08.07.16.31.52;	author ru;	state Exp;
branches;
next	1.16.2.4;

1.16.2.4
date	2007.10.09.15.05.26;	author jhb;	state Exp;
branches;
next	1.16.2.5;

1.16.2.5
date	2007.10.10.15.05.04;	author jhb;	state Exp;
branches;
next	1.16.2.6;

1.16.2.6
date	2012.11.17.07.25.11;	author svnexp;	state Exp;
branches;
next	;

1.15.2.1
date	99.08.29.16.48.23;	author peter;	state Exp;
branches;
next	;

1.9.2.1
date	96.11.28.21.55.43;	author phk;	state Exp;
branches;
next	1.9.2.2;

1.9.2.2
date	96.11.29.19.50.23;	author phk;	state Exp;
branches;
next	1.9.2.3;

1.9.2.3
date	98.01.27.16.49.14;	author wollman;	state Exp;
branches;
next	1.9.2.4;

1.9.2.4
date	99.09.05.11.27.26;	author peter;	state Exp;
branches;
next	;

1.7.6.1
date	95.11.16.02.03.30;	author gpalmer;	state Exp;
branches;
next	1.7.6.2;

1.7.6.2
date	99.09.05.11.28.45;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.30.19.09.15;	author rgrimes;	state Exp;
branches;
next	;


desc
@@


1.31
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245309
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/share/zoneinfo/Makefile 245309 2013-01-11 18:37:51Z brooks $

#
# HOW TO UPDATE THE ZONEINFO DATA
#
# With the use of subversion, this is a little bit simpler than the CVS method.
#
# Import the new sources to the vendor branch:
#
# $ cd ~/svn/vendor/tzdata/dist
# $ tar zxvf /usr/ports/distfile/tzdata2008X.tar.gz
#   (check with "svn stat" and "svn diff" if it all makes sense)
# $ svn commit	# Commit message: "Vendor import of tzdata2008X (+details)" 
#
# Tag it
#
# $ cd ~/svn/vendor/tzdata
# $ svn cp svn+ssh://svn.freebsd.org/base/vendor/tzdata/dist \
#	svn+ssh://svn.freebsd.org/base/vendor/tzdata/tzdata2008X
# $ svn update	# Commit message: "Tag of tzdata2008X"
#
# Merge-from-vendor
#
# $ cd ~/svn/head/share/zoneinfo
# $ svn update
# $ svn merge -c X --accept=postpone \
#	svn+ssh://svn.freebsd.org/base/vendor/tzdata/dist .
# $ svn update	# Commit message: "MFV of tzdata2008X"
#

CLEANFILES+=	yearistype
CLEANDIRS+=	builddir
CONTRIBDIR=	${.CURDIR}/../../contrib/tzdata/
.PATH:		${CONTRIBDIR}

.if defined(LEAPSECONDS)
LEAPFILE=	-L leapseconds
.else
LEAPFILE=
.endif

TZFILES=	africa antarctica asia australasia etcetera europe \
		factory northamerica southamerica
POSIXRULES=	America/New_York

.if defined(OLDTIMEZONES)
TZFILES+=	backward systemv
.endif

TZFILES:=	${TZFILES:S/^/${CONTRIBDIR}/}

TZBUILDDIR=	${.OBJDIR}/builddir
TZBUILDSUBDIRS=	\
		Africa \
		America/Argentina \
		America/Indiana \
		America/Kentucky \
		America/North_Dakota \
		Antarctica \
		Arctic \
		Asia \
		Atlantic \
		Australia \
		Etc \
		Europe \
		Indian \
		Pacific \
		SystemV

all: zoneinfo

.PHONY: zoneinfo
zoneinfo: yearistype ${TDATA}
	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}

beforeinstall:
	cd ${TZBUILDDIR} && \
	    find . -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/

afterinstall:
#
# If the file /var/db/zoneinfo exists, and it is owned by root:wheel,
# and the contents of it exists in /usr/share/zoneinfo, then reinstall
# it.
#
	@@if [ -f ${DESTDIR}/var/db/zoneinfo -a -O ${DESTDIR}/var/db/zoneinfo \
	    -a -G ${DESTDIR}/var/db/zoneinfo ]; then \
		zf=$$(cat ${DESTDIR}/var/db/zoneinfo); \
		if [ -f ${DESTDIR}/usr/share/zoneinfo/$${zf} ]; then \
			if [ ! -z "${DESTDIR}" ]; then \
				optC="-C ${DESTDIR}"; \
			fi; \
			echo "Updating /etc/localtime"; \
			tzsetup $${optC} -r; \
		fi; \
	else \
		echo "Run tzsetup(8) manually to update /etc/localtime."; \
	fi

.include <bsd.prog.mk>
@


1.31.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:55 +0000
@
text
@d1 108
@


1.31.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 57
# $FreeBSD: releng/8.4/share/zoneinfo/Makefile 183865 2008-10-14 04:09:33Z edwin $

#
# HOW TO UPDATE THE ZONEINFO DATA
#
# With the use of subversion, this is a little bit simpler than the CVS method.
#
# Import the new sources to the vendor branch:
#
# $ cd ~/svn/vendor/tzdata/dist
# $ tar zxvf /usr/ports/distfile/tzdata2008X.tar.gz
#   (check with "svn stat" and "svn diff" if it all makes sense)
# $ svn commit	# Commit message: "Vendor import of tzdata2008X (+details)" 
#
# Tag it
#
# $ cd ~/svn/vendor/tzdata
# $ svn cp svn+ssh://svn.freebsd.org/base/vendor/tzdata/dist \
#	svn+ssh://svn.freebsd.org/base/vendor/tzdata/tzdata2008X
# $ svn update	# Commit message: "Tag of tzdata2008X"
#
# Merge-from-vendor
#
# $ cd ~/svn/head/share/zoneinfo
# $ svn update
# $ svn merge -c X --accept=postpone \
#	svn+ssh://svn.freebsd.org/base/vendor/tzdata/dist .
# $ svn update	# Commit message: "MFV of tzdata2008X"
#

CLEANFILES+=	yearistype

.if defined(LEAPSECONDS)
LEAPFILE=	-L leapseconds
.else
LEAPFILE=
.endif

TZFILES=	africa antarctica asia australasia etcetera europe \
		factory northamerica southamerica
POSIXRULES=	America/New_York

.if defined(OLDTIMEZONES)
TZFILES+=	backward systemv
.endif

all: yearistype

beforeinstall:
	umask 022; cd ${.CURDIR}; \
	zic -D -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \
	    -u ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
	    ${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES}
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
	    ${.CURDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/

.include <bsd.prog.mk>
@


1.30
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245265
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/share/zoneinfo/Makefile 245265 2013-01-10 19:46:08Z brooks $
d82 1
a82 1
	    find . -type f -print | xargs -I _FILE_ ${INSTALL} \
d84 1
a84 1
	    _FILE_ ${DESTDIR}/usr/share/zoneinfo/_FILE_
@


1.29
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/share/zoneinfo/Makefile 204300 2010-02-25 06:44:16Z edwin $
d32 1
d52 27
a78 1
all: yearistype
d81 4
a84 4
	umask 022; cd ${.CURDIR}; \
	zic -D -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \
	    -u ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
	    ${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES}
@


1.28
log
@SVN rev 204300 on 2010-02-25 06:44:16Z by edwin

Officially speaking, the zoneinfo data files are contributed data.
Therefore treat them as such.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.28.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.28.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/share/zoneinfo/Makefile 204300 2010-02-25 06:44:16Z edwin $
@


1.28.2.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248336
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/share/zoneinfo/Makefile 248336 2013-03-15 19:16:35Z brooks $
a31 1
CLEANDIRS+=	builddir
d51 3
a53 24
TZBUILDDIR=	${.OBJDIR}/builddir
TZBUILDSUBDIRS=	\
		Africa \
		America/Argentina \
		America/Indiana \
		America/Kentucky \
		America/North_Dakota \
		Antarctica \
		Arctic \
		Asia \
		Atlantic \
		Australia \
		Etc \
		Europe \
		Indian \
		Pacific \
		SystemV

all: zoneinfo

.PHONY: zoneinfo
zoneinfo: yearistype ${TDATA}
	mkdir -p ${TZBUILDDIR}
	cd ${TZBUILDDIR}; mkdir -p ${TZBUILDSUBDIRS}
d55 2
a56 1
	zic -D -d ${TZBUILDDIR} -p ${POSIXRULES} -m ${NOBINMODE} \
a57 6

beforeinstall:
	cd ${TZBUILDDIR} && \
	    find . -type f -print -exec ${INSTALL} \
	    -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
	    \{} ${DESTDIR}/usr/share/zoneinfo/\{} \;
@


1.28.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.28.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/share/zoneinfo/Makefile 204300 2010-02-25 06:44:16Z edwin $
@


1.28.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.28.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/share/zoneinfo/Makefile 204300 2010-02-25 06:44:16Z edwin $
@


1.27
log
@SVN rev 203780 on 2010-02-11 15:34:54Z by nork

Fix a installation issue with $DESTDIR.

Approved by:	imp (mentor)
@
text
@d32 2
d49 2
d59 1
a59 1
	    ${.CURDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/
@


1.26
log
@SVN rev 198375 on 2009-10-22 20:59:51Z by edwin

Move comments to the beginning of the line to make it look better.
Thank to ru@@ for his noticing of it.

MFC after:	1 week
@
text
@d71 1
a71 1
			tzsetup ${optC} -r; \
@


1.25
log
@SVN rev 198351 on 2009-10-21 20:59:12Z by edwin

After the installation of the /usr/share/zoneinfo, run tzsetup if
/var/db/zoneinfo exists.

MFC after:	1 week
@
text
@d58 5
a62 5
	@@#
	@@# If the file /var/db/zoneinfo exists, and it is owned by root:wheel,
	@@# and the contents of it exists in /usr/share/zoneinfo, then reinstall
	@@# it.
	@@#
@


1.24
log
@SVN rev 183865 on 2008-10-14 04:09:33Z by edwin

update the manual on how to import and MFV new tzdata releases
@
text
@d57 20
@


1.24.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.24.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/share/zoneinfo/Makefile 183865 2008-10-14 04:09:33Z edwin $
@


1.24.2.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.24.2.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/share/zoneinfo/Makefile 183865 2008-10-14 04:09:33Z edwin $
@


1.24.2.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.24.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.24.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.23
log
@SVN rev 181426 on 2008-08-08 04:37:43Z by edwin

Replace description on how to do CVS imports on this module with a
description on how to do SVN imports on this module.

Approved by:	bde (implicit)
@
text
@d20 1
a20 1
# $ svn update
d24 1
a24 1
# $ cd ~svn/head/share/zoneinfo
d26 1
a26 1
# $ svn merge --accept=postpone \
d28 1
a28 3
# $ svn diff --no-diff-deleted \
#	--old=svn+ssh://svn.freebsd.org/base/vendor/tzdata/dist --new=.
# $ svn commit
@


1.22
log
@Describe the process of importing new zoneinfo data and updating
it into CVS.

PR:		conf/116901
Approved by:	re (Ken Smith), grog@@ (mentor)
@
text
@d6 1
a6 1
# In a clean directory, unpack the distribution archive and run:
d8 1
a8 2
# $ cvs -d :ext:ncvs.freebsd.org:/home/ncvs import -b 1.1.2 \
#	src/share/zoneinfo ADO tzdataYYYYt
d10 21
a30 16
# where YYYYt is the year and the version of the distribution, for
# example 2004h.
#
# Then go to the checked out source, and merge the changes from the
# previous tag to the new tag in the HEAD:
#
# $ cd ../src/share/zoneinfo
# $ cvs update -jtzdataYYYYp -j tzdataYYYYt
#
# Update it again:
# 
# $ cvs update
#
# And push it back into CVS:
#
# $ cvs ci
@


1.22.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/share/zoneinfo/Makefile 172476 2007-10-08 21:16:38Z edwin $
@


1.22.12.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.22.12.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/share/zoneinfo/Makefile 172476 2007-10-08 21:16:38Z edwin $
@


1.22.10.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.22.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.22.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.21
log
@Move "systemv" into OLDTIMEZONES clause; "backward" is a prerequisite.
("systemv" is even more backward than "backward" is!)

Obliquely pointed out by:	jhay
@
text
@d3 26
@


1.20
log
@- Removed the .CURDIR/.OBJDIR magic, it is not necessary here.
- Let the built-in sys.mk rule produce the "yearistype" script.
- Install zone files with mode 444 (now that the -m option of
  zic(8) has been fixed).
@
text
@d12 1
a12 1
		factory northamerica southamerica systemv
d16 1
a16 1
TZFILES+=	backward
@


1.20.6.1
log
@Update zoneinfo and required support files for change in Daylight
Savings Time that begins in 2007.

Approved by:	so (simon)
Submitted by:	re (kensmith)
Errata:		FreeBSD-EN-07:04.zoneinfo
@
text
@d12 1
a12 1
		factory northamerica southamerica
d16 1
a16 1
TZFILES+=	backward systemv
@


1.20.2.1
log
@Recognize the backwardness of "systemv" in 6.x as well.
@
text
@d12 1
a12 1
		factory northamerica southamerica
d16 1
a16 1
TZFILES+=	backward systemv
@


1.20.2.2
log
@MFC:

Describe the process of importing new zoneinfo data and updating
it into CVS.

PR:             conf/116901
@
text
@a2 26
#
# HOW TO UPDATE THE ZONEINFO DATA
#
# In a clean directory, unpack the distribution archive and run:
#
# $ cvs -d :ext:ncvs.freebsd.org:/home/ncvs import -b 1.1.2 \
#       src/share/zoneinfo ADO tzdataYYYYt
#
# where YYYYt is the year and the version of the distribution, for
# example 2004h.
#
# Then go to the checked out source, and merge the changes from the
# previous tag to the new tag in the HEAD:
#
# $ cd ../src/share/zoneinfo
# $ cvs update -jtzdataYYYYp -j tzdataYYYYt
#
# Update it again:
# 
# $ cvs update
#
# And push it back into CVS:
#
# $ cvs ci
#

@


1.20.2.3
log
@Whitespace chase after bad copy+paste.
Noticed by: John Baldwin
@
text
@d9 1
a9 1
#	src/share/zoneinfo ADO tzdataYYYYt
@


1.20.2.4
log
@MFC of src/share/zoneinfo
MFV: tzdata2007h
@
text
@@


1.20.2.5
log
@MFC of tzdata2008b
@
text
@@


1.20.2.6
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/share/zoneinfo/Makefile 177594 2008-03-25 03:50:01Z edwin $
@


1.20.2.5.2.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.19
log
@Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
@
text
@a18 6
.if exists(${.OBJDIR}/yearistype)
YEARISTYPE=	${.OBJDIR}/yearistype
.else
YEARISTYPE=	${.CURDIR}/yearistype
.endif

a20 4
yearistype: yearistype.sh
	cp ${.ALLSRC} ${.TARGET}
	chmod +x ${.TARGET}

d24 2
a25 2
	    -u ${BINOWN} -g ${BINGRP} \
	    ${LEAPFILE} -y ${YEARISTYPE} ${TZFILES}
@


1.19.8.1
log
@Insta-MFC rev 1.21: don't build "systemv" when not doing "backward".
This fixes virgin installs (and thus "make release").
@
text
@d12 1
a12 1
		factory northamerica southamerica
d16 1
a16 1
TZFILES+=	backward systemv
@


1.19.8.2
log
@MFC:

Describe the process of importing new zoneinfo data and updating
it into CVS.

PR:             conf/116901
@
text
@a2 26
#
# HOW TO UPDATE THE ZONEINFO DATA
#
# In a clean directory, unpack the distribution archive and run:
#
# $ cvs -d :ext:ncvs.freebsd.org:/home/ncvs import -b 1.1.2 \
#       src/share/zoneinfo ADO tzdataYYYYt
#
# where YYYYt is the year and the version of the distribution, for
# example 2004h.
#
# Then go to the checked out source, and merge the changes from the
# previous tag to the new tag in the HEAD:
#
# $ cd ../src/share/zoneinfo
# $ cvs update -jtzdataYYYYp -j tzdataYYYYt
#
# Update it again:
# 
# $ cvs update
#
# And push it back into CVS:
#
# $ cvs ci
#

@


1.19.8.3
log
@Whitespace chase after bad copy+paste.
Noticed by: John Baldwin
@
text
@d9 1
a9 1
#	src/share/zoneinfo ADO tzdataYYYYt
@


1.19.8.4
log
@MFC of tzdata2008b
@
text
@d45 6
d53 4
d60 2
a61 2
	    -u ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
	    ${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES}
@


1.18
log
@s/${INSTALL} -c/${INSTALL} ${COPY}/
@
text
@d36 1
a36 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
@


1.17
log
@Don't create missing directories; that's the duty of mtree(8).

Don't depend on chown(8) in ${INSTALLTMP}; -u/-g have been
supported since at least RELENG_4_BP.
@
text
@d1 1
a1 1
# $FreeBSD: src/share/zoneinfo/Makefile,v 1.16 1999/08/28 00:22:10 peter Exp $
d36 1
a36 1
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
@


1.16
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d33 2
a34 1
	zic -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \
a37 3

afterinstall:
	chown -R ${BINOWN}:${BINGRP} ${DESTDIR}/usr/share/zoneinfo/*
@


1.16.2.1
log
@MFC: Don't automatically create missing directories in
share/zoneinfo, add missing directories to BSD.usr.dist.
@
text
@d33 1
a33 2
	zic -D -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \
	    -u ${BINOWN} -g ${BINGRP} \
d37 3
@


1.16.2.2
log
@MFC: s/${INSTALL} -c/${INSTALL} ${COPY}/
@
text
@d36 1
a36 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
@


1.16.2.3
log
@MFC: Drop support for COPY.
@
text
@d36 1
a36 1
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
@


1.16.2.4
log
@MFC: Describe the process of importing new zoneinfo data and updating it
in CVS.

PR:		conf/116901
@
text
@a2 26
#
# HOW TO UPDATE THE ZONEINFO DATA
#
# In a clean directory, unpack the distribution archive and run:
#
# $ cvs -d :ext:ncvs.freebsd.org:/home/ncvs import -b 1.1.2 \
#       src/share/zoneinfo ADO tzdataYYYYt
#
# where YYYYt is the year and the version of the distribution, for
# example 2004h.
#
# Then go to the checked out source, and merge the changes from the
# previous tag to the new tag in the HEAD:
#
# $ cd ../src/share/zoneinfo
# $ cvs update -jtzdataYYYYp -j tzdataYYYYt
#
# Update it again:
# 
# $ cvs update
#
# And push it back into CVS:
#
# $ cvs ci
#

@


1.16.2.5
log
@MFC: Sync whitespace.
@
text
@d9 1
a9 1
#	src/share/zoneinfo ADO tzdataYYYYt
@


1.16.2.6
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/share/zoneinfo/Makefile 172504 2007-10-10 15:05:04Z jhb $
@


1.15
log
@Don't use a dot in the chown command.  Fixed some minor style bugs.
Building things at install time under ${DESTDIR} was too hard to fix.

Bruce
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.14 1997/02/22 13:56:50 peter Exp $
@


1.15.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.14
log
@Revert $FreeBSD$ to $Id$
@
text
@d1 1
a1 1
#	$Id$
a2 1
NOBIN=
d20 1
a20 1
YEARISTYPE=${.OBJDIR}/yearistype
d22 1
a22 1
YEARISTYPE=${.CURDIR}/yearistype
d25 1
a25 2
all:	yearistype
depend:
d27 3
a29 3
yearistype:	yearistype.sh
	cp ${.CURDIR}/yearistype.sh yearistype
	chmod +x yearistype
d31 1
a31 1
afterinstall:	yearistype
d34 6
a39 4
		${LEAPFILE} -y ${YEARISTYPE} ${TZFILES}
	chown -R bin.bin ${DESTDIR}/usr/share/zoneinfo/*
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/zone.tab \
		${DESTDIR}/usr/share/zoneinfo
@


1.13
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d1 1
a1 1
#	$FreeBSD$
@


1.12
log
@${COPY} -> -c.  ${COPY} should never be used for installing sources since
it might be empty.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.11 1996/11/27 23:32:10 ache Exp $
@


1.11
log
@Add missing ${COPY} to install options, zone.tab
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.10 1996/11/19 19:17:09 wollman Exp $
d38 1
a38 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/zone.tab \
@


1.10
log
@Update to the latest version from the vendor branch.  These files are
now identical with the distributed versions, which may cause some
abbreviations to change for people in obscure zones.  (The abbreviations
can be changed again if need be.)  It also changes the abbreviation
of Central European Time to `CET' from its previous value of `MET'
(a curious German-English hybrid).  Finally, we have finally rid
ourselves of those nasty ZONE-DESCR comments, which were a maintenance
nightmare, in favor of the new zone.tab file.  We are not using the
distribution's iso3166.tab file because we have our own list.

Obtained from: Arthur David Olson; ftp://elsie.nci.nih.gov
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9 1996/06/24 04:24:19 jkh Exp $
d38 1
a38 1
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/zone.tab \
@


1.9
log
@Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.8 1995/11/16 02:00:38 gpalmer Exp $
d38 2
@


1.9.2.1
log
@YAMFC
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9 1996/06/24 04:24:19 jkh Exp $
a37 2
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/zone.tab \
		${DESTDIR}/usr/share/zoneinfo
@


1.9.2.2
log
@YAMFC
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9.2.1 1996/11/28 21:55:43 phk Exp $
d38 1
a38 1
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/zone.tab \
@


1.9.2.3
log
@Merge 1997i release of timezone data from -current.

Requested by: markm
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.15 1997/03/09 09:41:44 bde Exp $
d3 1
d21 1
a21 1
YEARISTYPE=	${.OBJDIR}/yearistype
d23 1
a23 1
YEARISTYPE=	${.CURDIR}/yearistype
d26 2
a27 1
all: yearistype
d29 3
a31 3
yearistype: yearistype.sh
	cp ${.ALLSRC} ${.TARGET}
	chmod +x ${.TARGET}
d33 1
a33 1
beforeinstall:
d36 4
a39 6
	    ${LEAPFILE} -y ${YEARISTYPE} ${TZFILES}
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
	    ${.CURDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/

afterinstall:
	chown -R ${BINOWN}:${BINGRP} ${DESTDIR}/usr/share/zoneinfo/*
@


1.9.2.4
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.8
log
@Change the handling of the leapseconds so that if LEAPSECONDS isn't
defined, it doesn't call zic with -L /dev/null, and instead doesn't
use -L at all
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.7 1994/09/13 22:02:46 wollman Exp $
d20 2
a21 2
.if exists(${.CURDIR}/obj/.)
YEARISTYPE=${.CURDIR}/obj/yearistype
@


1.7
log
@Don't build Pacific Presidential Election Time; it has no legal standing,
and results in a bogus link and US/ directory.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.6 1994/09/13 21:54:06 wollman Exp $
d7 1
a7 1
LEAPFILE=	leapseconds
d9 1
a9 1
LEAPFILE=	/dev/null
d36 1
a36 1
		-L ${LEAPFILE} -y ${YEARISTYPE} ${TZFILES}
@


1.7.6.1
log
@Merge change in from revision 1.8
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.8 1995/11/16 02:00:38 gpalmer Exp $
d7 1
a7 1
LEAPFILE=	-L leapseconds
d9 1
a9 1
LEAPFILE=
d36 1
a36 1
		${LEAPFILE} -y ${YEARISTYPE} ${TZFILES}
@


1.7.6.2
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.6
log
@New method for installing timezone data files, not nearly as complicated
as the previous one, and better integrated with the build scheme.

Define OLDTIMEZONES to get backward-compatibility links added.
Define LEAPSECONDS if you want leap-second support.
@
text
@d1 1
a1 1
#	$Id$
d13 1
a13 1
		factory northamerica pacificnew southamerica systemv
@


1.5
log
@Install posix rules as default and leapseconds rules as additional
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.1 (Berkeley) 6/8/93
d3 35
a37 132
# Change the line below for your time zone (after finding the zone you want in
# the time zone files, or adding it to a time zone file).
# Alternately, if you discover you've got the wrong time zone, you can just
#	zic -l rightzone

LOCALTIME=	US/Pacific

# If you want something other than Eastern United States time as a template
# for handling POSIX-style time zone environment variables,
# change the line below (after finding the zone you want in the
# time zone files, or adding it to a time zone file).
# Alternately, if you discover you've got the wrong time zone, you can just
#	zic -p rightzone

POSIXRULES=	US/Pacific

# Use an absolute path name for TZDIR unless you're just testing the software.

TZDIR=	${DESTDIR}/usr/share/zoneinfo

# If you always want time values interpreted as "seconds since the epoch
# (not counting leap seconds)", use
# 	REDO=		posix_only
# below.  If you always want right time values interpreted as "seconds since
# the epoch" (counting leap seconds)", use
#	REDO=		right_only
# below.  If you want both sets of data available, with leap seconds not
# counted normally, use
#	REDO=		posix_right
# below.  If you want both sets of data available, with leap seconds counted
# normally, use
#	REDO=		right_posix
# below.

REDO=           posix_right

# If you're running on a System V-style system and don't want lint grief,
# add
#	-DUSG
# to the end of the "CFLAGS=" line.
#
# If you're running on a system where "strchr" is known as "index",
# (for example, a 4.[012]BSD system), add
#	-Dstrchr=index
# to the end of the "CFLAGS=" line.
#
# If you're running on a system with a "mkdir" function, feel free to add
#	-Demkdir=mkdir
# to the end of the "CFLAGS=" line
#
# If you want to use System V compatibility code, add
#	-DUSG_COMPAT
# to the end of the "CFLAGS=" line.
#
# If your system has a "GMT offset" field in its "struct tm"s
# (or if you decide to add such a field in your system's "time.h" file),
# add the name to a define such as
#	-DTM_GMTOFF=tm_gmtoff
# or
#	-DTM_GMTOFF=_tm_gmtoff
# to the end of the "CFLAGS=" line.
#
# If your system has a "GMT offset" field in its "struct tm"s
# (or if you decide to add such a field in your system's "time.h" file),
# add the name to a define such as
#	-DTM_ZONE=tm_zone
# or
#	-DTM_ZONE=_tm_zone
# to the end of the "CFLAGS=" line.
#
# If you want code inspired by certain emerging standards, add
#	-DSTD_INSPIRED
# to the end of the "CFLAGS=" line.
#
# If you want Source Code Control System ID's left out of object modules, add
#	-DNOID
# to the end of the "CFLAGS=" line.
#
# If you'll never want to handle solar-time-based time zones, add
#	-DNOSOLAR
# to the end of the "CFLAGS=" line
# (and comment out the "SDATA=" line below).
#
# If you want to allocate state structures in localtime, add
#	-DALL_STATE
# to the end of the "CFLAGS=" line.
#
# If you want an "altzone" variable (a la System V Release 3.1), add
#	-DALTZONE
# to the end of the "CFLAGS=" line.
#
# If you want a "gtime" function (a la MACH), add
#	-DCMUCS
# to the end of the "CFLAGS=" line

.PATH:	${.CURDIR}/datfiles
CFLAGS=	-DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone
PROG=	zic
MAN5=	tzfile.5

SRCS=	zic.c scheck.c ialloc.c

YDATA=	africa antarctica asia australasia europe northamerica \
	southamerica pacificnew etcetera factory
NDATA=	systemv
#SDATA=	solar87 solar88 solar89
TDATA=	${YDATA} ${NDATA} ${SDATA}
DATA=	${YDATA} ${NDATA} ${SDATA} leapseconds
USNO=	usno1988 usno1989

posix_only: ${TDATA}
	(cd ${.CURDIR}/datfiles; \
	    ../obj/zic -d ${TZDIR} -L /dev/null ${TDATA})

right_only: leapseconds ${TDATA}
	(cd ${.CURDIR}/datfiles; \
	    ../obj/zic -d ${TZDIR} -L leapseconds ${TDATA})

other_two: leapseconds ${TDATA}
	(cd ${.CURDIR}/datfiles; \
	    ../obj/zic -d ${TZDIR}/posix -L /dev/null ${TDATA})
	(cd ${.CURDIR}/datfiles; \
	    ../obj/zic -d ${TZDIR}/right -L leapseconds ${TDATA})

posix_right: posix_only other_two

right_posix: right_only other_two

install: maninstall ${DATA} ${REDO}
	(cd ${.CURDIR}/datfiles && ../obj/zic -d ${TZDIR} -p ${POSIXRULES})
	chown -R ${BINOWN}.${BINGRP} ${TZDIR}
	chmod -R a-w ${TZDIR}
@


1.4
log
@Bruce Evans is right - this shouldn't touch /etc *at all* and I should
have nuked it, not fixed it.  No longer install /etc/localtime.
Reviewed by:
Submitted by:
@
text
@d37 1
a37 1
REDO=		right_only
@


1.3
log
@Add a preventative rm of /etc/localtime in the install rule just in
case it's a link (in which case the subsequent install will fall over).
Submitted by:	jkh
@
text
@a132 3
	rm -f ${DESTDIR}/etc/localtime
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
	    ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime
@


1.2
log
@Change a .0 to a .5.
Submitted by:	jkh
@
text
@d133 1
@


1.1
log
@Initial revision
@
text
@d101 1
a101 1
MAN5=	tzfile.0
@


1.1.1.1
log
@BSD 4.4 Lite Share Sources
@
text
@@
