NetBSD/share/misc/Makefile
1999-09-16 09:12:06 +00:00

26 lines
928 B
Makefile

# $NetBSD: Makefile,v 1.20 1999/09/16 09:12:06 fvdl Exp $
# @(#)Makefile 8.1 (Berkeley) 6/8/93
FILES= acronyms airport ascii birthtoken bsd-family-tree country domains \
eqnchar flowers indent.pro inter.phone language man.template \
mdoc.template na.phone operator style zipcodes
FILESDIR=${BINDIR}/misc
MKOBJ= no
# 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 ; \
( \
echo '# $$NetBSD: Makefile,v 1.20 1999/09/16 09:12:06 fvdl Exp $$' ; \
echo '# ISO 3166 country codes, from http://www.iana.org/country-codes.txt' ; \
echo '# '`grep ^Latest /tmp/domains.$$$$` ; \
echo '#' ; \
perl -ane 'print lc(join(" ", $$F[$$#F-2], @F[0..$$#F-3])),"\n" if /^[A-Z]{2,}\s*.*\d{3}\s*$$/;' </tmp/domains.$$$$ \
) >domains ; \
rm /tmp/domains.$$$$
.include <bsd.prog.mk>