Home | History | Annotate | Line # | Download | only in misc
Makefile revision 1.20
      1  1.20      fvdl #	$NetBSD: Makefile,v 1.20 1999/09/16 09:12:06 fvdl Exp $
      2  1.10     mikel #	@(#)Makefile	8.1 (Berkeley) 6/8/93
      3   1.1       cgd 
      4  1.19  christos FILES=	acronyms airport ascii birthtoken bsd-family-tree country domains \
      5  1.20      fvdl 	eqnchar flowers indent.pro inter.phone language man.template \
      6  1.19  christos 	mdoc.template na.phone operator style zipcodes
      7  1.11   mycroft FILESDIR=${BINDIR}/misc
      8  1.16     lukem MKOBJ=	no
      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.20      fvdl 	echo '# $$NetBSD: Makefile,v 1.20 1999/09/16 09:12:06 fvdl 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.14   hubertf 	perl -ane 'print lc(join(" ", $$F[$$#F-2], @F[0..$$#F-3])),"\n" if /^[A-Z]{2,}\s*.*\d{3}\s*$$/;' </tmp/domains.$$$$ \
     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