Makefile revision 1.16
11.16Slukem#	$NetBSD: Makefile,v 1.16 1999/02/13 02:54:36 lukem Exp $
21.10Smikel#	@(#)Makefile	8.1 (Berkeley) 6/8/93
31.1Scgd
41.13ShubertfFILES=	airport ascii birthtoken domains eqnchar flowers getopt \
51.15Sthorpej	indent.pro inter.phone man.template mdoc.template na.phone \
61.15Sthorpej	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.16Slukem	echo '# $$NetBSD: Makefile,v 1.16 1999/02/13 02:54:36 lukem 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