NetBSD/share/misc/Makefile

26 lines
943 B
Makefile
Raw Normal View History

# $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
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
MKOBJ= no
1993-03-21 12:45:37 +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 ; \
( \
echo '# $$NetBSD: Makefile,v 1.19 1999/09/03 21:35:05 christos 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.$$$$
1993-03-21 12:45:37 +03:00
.include <bsd.prog.mk>