Home | History | Annotate | Line # | Download | only in misc
Makefile revision 1.20
      1 #	$NetBSD: Makefile,v 1.20 1999/09/16 09:12:06 fvdl Exp $
      2 #	@(#)Makefile	8.1 (Berkeley) 6/8/93
      3 
      4 FILES=	acronyms airport ascii birthtoken bsd-family-tree country domains \
      5 	eqnchar flowers indent.pro inter.phone language man.template \
      6 	mdoc.template na.phone operator style zipcodes
      7 FILESDIR=${BINDIR}/misc
      8 MKOBJ=	no
      9 
     10 
     11 # According to iana (at] ISI.EDU, the URL below is the authoritative list
     12 # distributed by the ISO 3166 Maintenance Agency.
     13 update-domains:
     14 	ftp -o /tmp/domains.$$$$ http://www.iana.org/country-codes.txt ; \
     15 	( \
     16 	echo '# $$NetBSD: Makefile,v 1.20 1999/09/16 09:12:06 fvdl 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