Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/zoneinfo Uncomment a bunch of seemingly unused rules. ...



details:   https://anonhg.NetBSD.org/src/rev/4ffadd767734
branches:  trunk
changeset: 518217:4ffadd767734
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Nov 26 15:24:20 2001 +0000

description:
Uncomment a bunch of seemingly unused rules. It seems several people
do indeed use them in their private builds. Pointed out by Alan Barrett.

diffstat:

 share/zoneinfo/Makefile |  32 +++++++++++++++-----------------
 1 files changed, 15 insertions(+), 17 deletions(-)

diffs (46 lines):

diff -r dacc04163e28 -r 4ffadd767734 share/zoneinfo/Makefile
--- a/share/zoneinfo/Makefile   Mon Nov 26 15:23:38 2001 +0000
+++ b/share/zoneinfo/Makefile   Mon Nov 26 15:24:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.24 2001/11/24 21:37:23 perry Exp $
+#      $NetBSD: Makefile,v 1.25 2001/11/26 15:24:20 perry Exp $
 
 .include <bsd.own.mk>
 
@@ -56,22 +56,20 @@
 posix_only: ${TDATA}
        ${ZIC} -y ${YEARISTYPE} -d ${TZDIR} -L /dev/null ${TDATA}
 
-## XXX Is any of this needed, or is it just baggage that we never use?
-## XXX Commented out for now, pending an answer.
-#.PHONY:       right_only
-#right_only: leapseconds ${TDATA}
-#      ${ZIC} -y ${YEARISTYPE} -d ${TZDIR} -L leapseconds ${TDATA}
-#
-#.PHONY:       other_two
-#other_two: leapseconds ${TDATA}
-#      ${ZIC} -y ${YEARISTYPE} -d ${TZDIR}/posix -L /dev/null ${TDATA}
-#      ${ZIC} -y ${YEARISTYPE} -d ${TZDIR}/right -L leapseconds ${TDATA}
-#
-#.PHONY:       posix_right
-#posix_right: posix_only other_two
-#
-#.PHONY:       right_posix
-#right_posix: right_only other_two
+.PHONY:        right_only
+right_only: leapseconds ${TDATA}
+       ${ZIC} -y ${YEARISTYPE} -d ${TZDIR} -L leapseconds ${TDATA}
+
+.PHONY:        other_two
+other_two: leapseconds ${TDATA}
+       ${ZIC} -y ${YEARISTYPE} -d ${TZDIR}/posix -L /dev/null ${TDATA}
+       ${ZIC} -y ${YEARISTYPE} -d ${TZDIR}/right -L leapseconds ${TDATA}
+
+.PHONY:        posix_right
+posix_right: posix_only other_two
+
+.PHONY:        right_posix
+right_posix: right_only other_two
 
 .if ${MKSHARE} != "no"
 afterinstall: ${DATA} ${REDO}



Home | Main Index | Thread Index | Old Index