Makefile revision 1.14
1#	$NetBSD: Makefile,v 1.14 1999/01/06 04:41:49 hubertf Exp $
2#	@(#)Makefile	8.1 (Berkeley) 6/8/93
3
4FILES=	airport ascii birthtoken domains eqnchar flowers getopt \
5	inter.phone man.template mdoc.template na.phone operator style \
6	zipcodes
7FILESDIR=${BINDIR}/misc
8NOOBJ=	noobj
9
10
11# According to iana@ISI.EDU, the URL below is the authoritative list
12# distributed by the ISO 3166 Maintenance Agency.
13update-domains:
14	ftp -o /tmp/domains.$$$$ http://www.iana.org/country-codes.txt ; \
15	( \
16	echo '# $$NetBSD: Makefile,v 1.14 1999/01/06 04:41:49 hubertf Exp $$' ;  \
17	echo '# ISO 3166 country codes, from http://www.iana.org/country-codes.txt' ;  \
18	echo '# '`grep ^Latest /tmp/domains.$$$$` ;  \
19	echo '#' ;  \
20	perl -ane 'print lc(join(" ", $$F[$$#F-2], @F[0..$$#F-3])),"\n" if /^[A-Z]{2,}\s*.*\d{3}\s*$$/;' </tmp/domains.$$$$ \
21	) >domains ; \
22	rm /tmp/domains.$$$$
23	
24
25.include <bsd.prog.mk>
26