=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/share/zoneinfo/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/share/zoneinfo/Makefile 1995/10/18 08:44:50 1.1 +++ src/share/zoneinfo/Makefile 1995/11/13 07:03:34 1.2 @@ -39,6 +39,7 @@ # Since "." may not be in PATH... YEARISTYPE= ${.CURDIR}/datfiles/yearistype.sh +YEARISTYPECOPY= ${.OBJDIR}/yearistypecopy YDATA= africa antarctica asia australasia \ europe northamerica southamerica pacificnew etcetera factory \ @@ -51,29 +52,35 @@ ZIC=zic -posix_only: ${TDATA} +${YEARISTYPECOPY}: + cp ${YEARISTYPE} yearistypecopy + chmod u+x yearistypecopy + +posix_only: ${TDATA} ${YEARISTYPECOPY} (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; \ - ${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; \ - ${ZIC} -y ${YEARISTYPE} -d ${TZDIR}/posix -L /dev/null ${TDATA}) + ${ZIC} -y ${YEARISTYPECOPY} -d ${TZDIR}/posix -L /dev/null ${TDATA}) (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 right_posix: right_only other_two -realinstall: ${DATA} ${REDO} +realinstall: ${DATA} ${REDO} ${YEARISTYPECOPY} (cd ${.CURDIR}/datfiles; \ - ${ZIC} -y ${YEARISTYPE} -d ${TZDIR} -p ${POSIXRULES}) + ${ZIC} -y ${YEARISTYPECOPY} -d ${TZDIR} -p ${POSIXRULES}) chown -R ${BINOWN}:${BINGRP} ${TZDIR} find ${TZDIR} -type f | xargs chmod a=r + +CLEANFILES+= yearistypecopy .PATH: ${.CURDIR}/datfiles .include