Makefile revision 1.23
11.23Slukem#	$NetBSD: Makefile,v 1.23 2002/09/18 08:12:30 lukem Exp $
21.10Smikel#	@(#)Makefile	8.1 (Berkeley) 6/8/93
31.1Scgd
41.23SlukemNOOBJ=	# defined
51.23Slukem
61.19SchristosFILES=	acronyms airport ascii birthtoken bsd-family-tree country domains \
71.20Sfvdl	eqnchar flowers indent.pro inter.phone language man.template \
81.19Schristos	mdoc.template na.phone operator style zipcodes
91.11SmycroftFILESDIR=${BINDIR}/misc
101.13Shubertf
111.13Shubertf
121.13Shubertf# According to iana@ISI.EDU, the URL below is the authoritative list
131.13Shubertf# distributed by the ISO 3166 Maintenance Agency.
141.13Shubertfupdate-domains:
151.13Shubertf	ftp -o /tmp/domains.$$$$ http://www.iana.org/country-codes.txt ; \
161.13Shubertf	( \
171.23Slukem	echo '# $$NetBSD: Makefile,v 1.23 2002/09/18 08:12:30 lukem Exp $$' ;  \
181.13Shubertf	echo '# ISO 3166 country codes, from http://www.iana.org/country-codes.txt' ;  \
191.13Shubertf	echo '# '`grep ^Latest /tmp/domains.$$$$` ;  \
201.13Shubertf	echo '#' ;  \
211.14Shubertf	perl -ane 'print lc(join(" ", $$F[$$#F-2], @F[0..$$#F-3])),"\n" if /^[A-Z]{2,}\s*.*\d{3}\s*$$/;' </tmp/domains.$$$$ \
221.13Shubertf	) >domains ; \
231.13Shubertf	rm /tmp/domains.$$$$
241.1Scgd
251.1Scgd.include <bsd.prog.mk>
26