1999-04-24 04:41:39 +04:00
|
|
|
# $NetBSD: Makefile,v 1.17 1999/04/24 00:41:39 abs 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-04-24 04:41:39 +04:00
|
|
|
FILES= airport ascii birthtoken bsd-family-tree domains eqnchar flowers \
|
|
|
|
getopt indent.pro inter.phone man.template mdoc.template na.phone \
|
1999-01-26 07:35:19 +03:00
|
|
|
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-04-24 04:41:39 +04:00
|
|
|
echo '# $$NetBSD: Makefile,v 1.17 1999/04/24 00:41:39 abs 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>
|