xref: /netbsd-src/lib/libc/time/tzcode2netbsd (revision b999beb0fa5389d8f4030abd1020389bd9d776c2)
1eaf4c8b9Skleink#! /bin/sh
2eaf4c8b9Skleink
3eaf4c8b9Skleink#
4*b999beb0Schristos# $NetBSD: tzcode2netbsd,v 1.6 2015/07/11 16:09:15 christos Exp $
5eaf4c8b9Skleink#
6eaf4c8b9Skleink# Convert an extracted tzcode distribution into the format suitable
7eaf4c8b9Skleink# for importing it into the NetBSD source tree.
80e5c1261Skleink# Last updated for: tzcode2004a.
9eaf4c8b9Skleink#
10eaf4c8b9Skleink
11eaf4c8b9SkleinkNOIMPORT="Makefile
124a2741cbSkleink	date.1 date.1.txt date.c
13eaf4c8b9Skleink	gccdiffs
140e5c1261Skleink	itca.jpg
15eaf4c8b9Skleink	logwtmp.c
164a2741cbSkleink	newctime.3.txt
174a2741cbSkleink	newstrftime.3 newstrftime.3.txt
184a2741cbSkleink	newtzset.3.txt
194a2741cbSkleink	time2posix.3.txt
204a2741cbSkleink	tzfile.5.txt
214a2741cbSkleink	tzselect.8.txt
224a2741cbSkleink	usno1988 usno1989 usno1989a usno1995 usno1997 usno1998
234a2741cbSkleink	zdump.8.txt
244a2741cbSkleink	zic.8.txt"
25eaf4c8b9Skleink
26*b999beb0Schristos#rm -f ${NOIMPORT}
27*b999beb0Schristos#mv tzfile.h ../../../include
28eaf4c8b9Skleink
29*b999beb0Schristosecho remember to check tzfile.h in ../../../include
30*b999beb0Schristosecho you can find the current version in the Makefile
31*b999beb0Schristosecho we don't use this script anymore to import, but diff against the
32*b999beb0Schristosecho current version and apply patches.
33