Makefile revision 1.13
11.13Shubertf#	$NetBSD: Makefile,v 1.13 1999/01/05 01:53:09 hubertf Exp $
21.10Smikel#	@(#)Makefile	8.1 (Berkeley) 6/8/93
31.1Scgd
41.13ShubertfFILES=	airport ascii birthtoken domains eqnchar flowers getopt \
51.13Shubertf	inter.phone man.template mdoc.template na.phone operator style \
61.13Shubertf	zipcodes
71.11SmycroftFILESDIR=${BINDIR}/misc
81.1ScgdNOOBJ=	noobj
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.13Shubertf	echo '# $$NetBSD: Makefile,v 1.13 1999/01/05 01:53:09 hubertf 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.13Shubertf	awk </tmp/domains.$$$$ '{ if ( $$2 ~ /[A-Z][A-Z]/ && $$4 ~ /[0-9][0-9][0-9]/ ) { x=tolower($$2 " "$$1); print x } };' \
211.13Shubertf	) >domains ; \
221.13Shubertf	rm /tmp/domains.$$$$
231.13Shubertf	
241.1Scgd
251.1Scgd.include <bsd.prog.mk>
26