Home | History | Annotate | Line # | Download | only in misc
Makefile revision 1.13
      1  1.13  hubertf #	$NetBSD: Makefile,v 1.13 1999/01/05 01:53:09 hubertf Exp $
      2  1.10    mikel #	@(#)Makefile	8.1 (Berkeley) 6/8/93
      3   1.1      cgd 
      4  1.13  hubertf FILES=	airport ascii birthtoken domains eqnchar flowers getopt \
      5  1.13  hubertf 	inter.phone man.template mdoc.template na.phone operator style \
      6  1.13  hubertf 	zipcodes
      7  1.11  mycroft FILESDIR=${BINDIR}/misc
      8   1.1      cgd NOOBJ=	noobj
      9  1.13  hubertf 
     10  1.13  hubertf 
     11  1.13  hubertf # According to iana (at] ISI.EDU, the URL below is the authoritative list
     12  1.13  hubertf # distributed by the ISO 3166 Maintenance Agency.
     13  1.13  hubertf update-domains:
     14  1.13  hubertf 	ftp -o /tmp/domains.$$$$ http://www.iana.org/country-codes.txt ; \
     15  1.13  hubertf 	( \
     16  1.13  hubertf 	echo '# $$NetBSD: Makefile,v 1.13 1999/01/05 01:53:09 hubertf Exp $$' ;  \
     17  1.13  hubertf 	echo '# ISO 3166 country codes, from http://www.iana.org/country-codes.txt' ;  \
     18  1.13  hubertf 	echo '# '`grep ^Latest /tmp/domains.$$$$` ;  \
     19  1.13  hubertf 	echo '#' ;  \
     20  1.13  hubertf 	awk </tmp/domains.$$$$ '{ if ( $$2 ~ /[A-Z][A-Z]/ && $$4 ~ /[0-9][0-9][0-9]/ ) { x=tolower($$2 " "$$1); print x } };' \
     21  1.13  hubertf 	) >domains ; \
     22  1.13  hubertf 	rm /tmp/domains.$$$$
     23  1.13  hubertf 	
     24   1.1      cgd 
     25   1.1      cgd .include <bsd.prog.mk>
     26