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