Makefile revision 1.16
1#	$NetBSD: Makefile,v 1.16 1999/02/13 02:54:36 lukem Exp $
2#	@(#)Makefile	8.1 (Berkeley) 6/8/93
3
4FILES=	airport ascii birthtoken domains eqnchar flowers getopt \
5	indent.pro inter.phone man.template mdoc.template na.phone \
6	operator style zipcodes
7FILESDIR=${BINDIR}/misc
8MKOBJ=	no
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.16 1999/02/13 02:54:36 lukem 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