1# $NetBSD: Makefile,v 1.35 2011/01/17 11:09:08 jruoho Exp $ 2# @(#)Makefile 8.1 (Berkeley) 6/8/93 3 4NOOBJ= # defined 5 6FILES= NetBSD.el acronyms acronyms.comp airport ascii \ 7 birthtoken bsd-family-tree \ 8 country domains operator \ 9 eqnchar flowers indent.pro inter.phone language man.template \ 10 mdoc.template na.phone na.postal style zipcodes 11FILESDIR=${BINDIR}/misc 12 13 14# According to iana@ISI.EDU, the URL below is the authoritative list 15# distributed by the ISO 3166 Maintenance Agency. 16DOMAIN_URL= http://www.iana.org/root-whois/index.html 17update-domains: 18 ( \ 19 echo '# $$''NetBSD''$$' ; \ 20 echo '# ISO 3166 country codes, from ${DOMAIN_URL}' ; \ 21 echo '# Last update:' `date` ; \ 22 echo '#' ; \ 23 ftp -o - ${DOMAIN_URL} \ 24 | ${TOOL_SED} -n -f ${.CURDIR}/domains.sed \ 25 ) > domains ; \ 26 27update-na.phone: 28 < /dev/null ${TOOL_AWK} -f nanpa.awk > na.phone 29 30update-country: 31 ${.CURDIR}/make.country > country 32 33.include <bsd.prog.mk> 34