12fe8fb19SBen Gras#! /bin/sh 22fe8fb19SBen Gras 32fe8fb19SBen Gras# 4*0a6a1f1dSLionel Sambuc# $NetBSD: tzcode2netbsd,v 1.6 2015/07/11 16:09:15 christos Exp $ 52fe8fb19SBen Gras# 62fe8fb19SBen Gras# Convert an extracted tzcode distribution into the format suitable 72fe8fb19SBen Gras# for importing it into the NetBSD source tree. 82fe8fb19SBen Gras# Last updated for: tzcode2004a. 92fe8fb19SBen Gras# 102fe8fb19SBen Gras 112fe8fb19SBen GrasNOIMPORT="Makefile 122fe8fb19SBen Gras date.1 date.1.txt date.c 132fe8fb19SBen Gras gccdiffs 142fe8fb19SBen Gras itca.jpg 152fe8fb19SBen Gras logwtmp.c 162fe8fb19SBen Gras newctime.3.txt 172fe8fb19SBen Gras newstrftime.3 newstrftime.3.txt 182fe8fb19SBen Gras newtzset.3.txt 192fe8fb19SBen Gras time2posix.3.txt 202fe8fb19SBen Gras tzfile.5.txt 212fe8fb19SBen Gras tzselect.8.txt 222fe8fb19SBen Gras usno1988 usno1989 usno1989a usno1995 usno1997 usno1998 232fe8fb19SBen Gras zdump.8.txt 242fe8fb19SBen Gras zic.8.txt" 252fe8fb19SBen Gras 26*0a6a1f1dSLionel Sambuc#rm -f ${NOIMPORT} 27*0a6a1f1dSLionel Sambuc#mv tzfile.h ../../../include 282fe8fb19SBen Gras 29*0a6a1f1dSLionel Sambucecho remember to check tzfile.h in ../../../include 30*0a6a1f1dSLionel Sambucecho you can find the current version in the Makefile 31*0a6a1f1dSLionel Sambucecho we don't use this script anymore to import, but diff against the 32*0a6a1f1dSLionel Sambucecho current version and apply patches. 33