NetBSD/share/misc/Makefile

26 lines
928 B
Makefile
Raw Normal View History

1999-09-16 13:12:06 +04:00
# $NetBSD: Makefile,v 1.20 1999/09/16 09:12:06 fvdl 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 \
1999-09-16 13:12:06 +04:00
eqnchar flowers 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 ; \
( \
1999-09-16 13:12:06 +04:00
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.$$$$
1993-03-21 12:45:37 +03:00
.include <bsd.prog.mk>