Makefile revision 1.20
11.20Sfvdl#	$NetBSD: Makefile,v 1.20 1999/09/16 09:12:06 fvdl Exp $
21.10Smikel#	@(#)Makefile	8.1 (Berkeley) 6/8/93
31.1Scgd
41.19SchristosFILES=	acronyms airport ascii birthtoken bsd-family-tree country domains \
51.20Sfvdl	eqnchar flowers indent.pro inter.phone language man.template \
61.19Schristos	mdoc.template na.phone operator style zipcodes
71.11SmycroftFILESDIR=${BINDIR}/misc
81.16SlukemMKOBJ=	no
91.13Shubertf
101.13Shubertf
111.13Shubertf# According to iana@ISI.EDU, the URL below is the authoritative list
121.13Shubertf# distributed by the ISO 3166 Maintenance Agency.
131.13Shubertfupdate-domains:
141.13Shubertf	ftp -o /tmp/domains.$$$$ http://www.iana.org/country-codes.txt ; \
151.13Shubertf	( \
161.20Sfvdl	echo '# $$NetBSD: Makefile,v 1.20 1999/09/16 09:12:06 fvdl Exp $$' ;  \
171.13Shubertf	echo '# ISO 3166 country codes, from http://www.iana.org/country-codes.txt' ;  \
181.13Shubertf	echo '# '`grep ^Latest /tmp/domains.$$$$` ;  \
191.13Shubertf	echo '#' ;  \
201.14Shubertf	perl -ane 'print lc(join(" ", $$F[$$#F-2], @F[0..$$#F-3])),"\n" if /^[A-Z]{2,}\s*.*\d{3}\s*$$/;' </tmp/domains.$$$$ \
211.13Shubertf	) >domains ; \
221.13Shubertf	rm /tmp/domains.$$$$
231.13Shubertf	
241.1Scgd
251.1Scgd.include <bsd.prog.mk>
26