version 1.1, 1995/10/18 08:44:50 |
version 1.2, 1995/11/13 07:03:34 |
|
|
|
|
# Since "." may not be in PATH... |
# Since "." may not be in PATH... |
YEARISTYPE= ${.CURDIR}/datfiles/yearistype.sh |
YEARISTYPE= ${.CURDIR}/datfiles/yearistype.sh |
|
YEARISTYPECOPY= ${.OBJDIR}/yearistypecopy |
|
|
YDATA= africa antarctica asia australasia \ |
YDATA= africa antarctica asia australasia \ |
europe northamerica southamerica pacificnew etcetera factory \ |
europe northamerica southamerica pacificnew etcetera factory \ |
|
|
|
|
ZIC=zic |
ZIC=zic |
|
|
posix_only: ${TDATA} |
${YEARISTYPECOPY}: |
|
cp ${YEARISTYPE} yearistypecopy |
|
chmod u+x yearistypecopy |
|
|
|
posix_only: ${TDATA} ${YEARISTYPECOPY} |
(cd ${.CURDIR}/datfiles; \ |
(cd ${.CURDIR}/datfiles; \ |
${ZIC} -y ${YEARISTYPE} -d ${TZDIR} -L /dev/null ${TDATA}) |
${ZIC} -y ${YEARISTYPECOPY} -d ${TZDIR} -L /dev/null ${TDATA}) |
|
|
right_only: leapseconds ${TDATA} |
right_only: leapseconds ${TDATA} ${YEARISTYPECOPY} |
(cd ${.CURDIR}/datfiles; \ |
(cd ${.CURDIR}/datfiles; \ |
${ZIC} -y ${YEARISTYPE} -d ${TZDIR} -L leapseconds ${TDATA}) |
${ZIC} -y ${YEARISTYPECOPY} -d ${TZDIR} -L leapseconds ${TDATA}) |
|
|
other_two: leapseconds ${TDATA} |
other_two: leapseconds ${TDATA} ${YEARISTYPECOPY} |
(cd ${.CURDIR}/datfiles; \ |
(cd ${.CURDIR}/datfiles; \ |
${ZIC} -y ${YEARISTYPE} -d ${TZDIR}/posix -L /dev/null ${TDATA}) |
${ZIC} -y ${YEARISTYPECOPY} -d ${TZDIR}/posix -L /dev/null ${TDATA}) |
(cd ${.CURDIR}/datfiles; \ |
(cd ${.CURDIR}/datfiles; \ |
${ZIC} -y ${YEARISTYPE} -d ${TZDIR}/right -L leapseconds ${TDATA}) |
${ZIC} -y ${YEARISTYPECOPY} -d ${TZDIR}/right -L leapseconds ${TDATA}) |
|
|
posix_right: posix_only other_two |
posix_right: posix_only other_two |
|
|
right_posix: right_only other_two |
right_posix: right_only other_two |
|
|
realinstall: ${DATA} ${REDO} |
realinstall: ${DATA} ${REDO} ${YEARISTYPECOPY} |
(cd ${.CURDIR}/datfiles; \ |
(cd ${.CURDIR}/datfiles; \ |
${ZIC} -y ${YEARISTYPE} -d ${TZDIR} -p ${POSIXRULES}) |
${ZIC} -y ${YEARISTYPECOPY} -d ${TZDIR} -p ${POSIXRULES}) |
chown -R ${BINOWN}:${BINGRP} ${TZDIR} |
chown -R ${BINOWN}:${BINGRP} ${TZDIR} |
find ${TZDIR} -type f | xargs chmod a=r |
find ${TZDIR} -type f | xargs chmod a=r |
|
|
|
CLEANFILES+= yearistypecopy |
|
|
.PATH: ${.CURDIR}/datfiles |
.PATH: ${.CURDIR}/datfiles |
.include <bsd.prog.mk> |
.include <bsd.prog.mk> |