Home | History | Annotate | Line # | Download | only in misc
Makefile revision 1.23
      1 #	$NetBSD: Makefile,v 1.23 2002/09/18 08:12:30 lukem Exp $
      2 #	@(#)Makefile	8.1 (Berkeley) 6/8/93
      3 
      4 NOOBJ=	# defined
      5 
      6 FILES=	acronyms airport ascii birthtoken bsd-family-tree country domains \
      7 	eqnchar flowers indent.pro inter.phone language man.template \
      8 	mdoc.template na.phone operator style zipcodes
      9 FILESDIR=${BINDIR}/misc
     10 
     11 
     12 # According to iana (at] ISI.EDU, the URL below is the authoritative list
     13 # distributed by the ISO 3166 Maintenance Agency.
     14 update-domains:
     15 	ftp -o /tmp/domains.$$$$ http://www.iana.org/country-codes.txt ; \
     16 	( \
     17 	echo '# $$NetBSD: Makefile,v 1.23 2002/09/18 08:12:30 lukem Exp $$' ;  \
     18 	echo '# ISO 3166 country codes, from http://www.iana.org/country-codes.txt' ;  \
     19 	echo '# '`grep ^Latest /tmp/domains.$$$$` ;  \
     20 	echo '#' ;  \
     21 	perl -ane 'print lc(join(" ", $$F[$$#F-2], @F[0..$$#F-3])),"\n" if /^[A-Z]{2,}\s*.*\d{3}\s*$$/;' </tmp/domains.$$$$ \
     22 	) >domains ; \
     23 	rm /tmp/domains.$$$$
     24 
     25 .include <bsd.prog.mk>
     26