1999-09-04 01:35:05 +04:00
|
|
|
# $NetBSD: Makefile,v 1.19 1999/09/03 21:35:05 christos Exp $
|
1997-03-26 09:30:54 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/8/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1999-09-04 01:35:05 +04:00
|
|
|
FILES= acronyms airport ascii birthtoken bsd-family-tree country domains \
|
|
|
|
eqnchar flowers getopt indent.pro inter.phone language man.template \
|
|
|
|
mdoc.template na.phone operator style zipcodes
|
1997-03-27 11:48:56 +03:00
|
|
|
FILESDIR=${BINDIR}/misc
|
1999-02-13 05:54:17 +03:00
|
|
|
MKOBJ= no
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1999-01-05 04:53:09 +03:00
|
|
|
|
|
|
|
# According to iana@ISI.EDU, the URL below is the authoritative list
|
|
|
|
# distributed by the ISO 3166 Maintenance Agency.
|
|
|
|
update-domains:
|
|
|
|
ftp -o /tmp/domains.$$$$ http://www.iana.org/country-codes.txt ; \
|
|
|
|
( \
|
1999-09-04 01:35:05 +04:00
|
|
|
echo '# $$NetBSD: Makefile,v 1.19 1999/09/03 21:35:05 christos Exp $$' ; \
|
1999-01-05 04:53:09 +03:00
|
|
|
echo '# ISO 3166 country codes, from http://www.iana.org/country-codes.txt' ; \
|
|
|
|
echo '# '`grep ^Latest /tmp/domains.$$$$` ; \
|
|
|
|
echo '#' ; \
|
1999-01-06 07:41:49 +03:00
|
|
|
perl -ane 'print lc(join(" ", $$F[$$#F-2], @F[0..$$#F-3])),"\n" if /^[A-Z]{2,}\s*.*\d{3}\s*$$/;' </tmp/domains.$$$$ \
|
1999-01-05 04:53:09 +03:00
|
|
|
) >domains ; \
|
|
|
|
rm /tmp/domains.$$$$
|
|
|
|
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|