1 1.37 christos # $NetBSD: Makefile,v 1.37 2015/04/21 22:40:37 christos Exp $ 2 1.10 mikel # @(#)Makefile 8.1 (Berkeley) 6/8/93 3 1.1 cgd 4 1.37 christos FILES= NetBSD.el acronyms acronyms-o acronyms.comp airport ascii \ 5 1.29 wiz birthtoken bsd-family-tree \ 6 1.36 jruoho country domains operator \ 7 1.20 fvdl eqnchar flowers indent.pro inter.phone language man.template \ 8 1.35 jruoho mdoc.template na.phone na.postal style zipcodes 9 1.11 mycroft FILESDIR=${BINDIR}/misc 10 1.13 hubertf 11 1.37 christos # TO AVOID INSTALLING THE POTENTIALLY OFFENSIVE FORTUNES, RUN 'make' with 12 1.37 christos # "INSTALL_OFFENSIVE_FORTUNES=NO", or set "INSTALL_OFFENSIVE_FORTUNES=NO" 13 1.37 christos # IN bsd.own.mk OR /etc/mk.conf. 14 1.37 christos 15 1.37 christos INSTALL_OFFENSIVE_FORTUNES?= YES 16 1.37 christos .if (${INSTALL_OFFENSIVE_FORTUNES} == "YES") 17 1.37 christos TYPE= real 18 1.37 christos .else 19 1.37 christos TYPE= fake 20 1.37 christos .endif 21 1.37 christos CLEANFILES+=acronyms-o 22 1.13 hubertf 23 1.13 hubertf # According to iana (at] ISI.EDU, the URL below is the authoritative list 24 1.13 hubertf # distributed by the ISO 3166 Maintenance Agency. 25 1.31 hubertf DOMAIN_URL= http://www.iana.org/root-whois/index.html 26 1.13 hubertf update-domains: 27 1.13 hubertf ( \ 28 1.31 hubertf echo '# $$''NetBSD''$$' ; \ 29 1.31 hubertf echo '# ISO 3166 country codes, from ${DOMAIN_URL}' ; \ 30 1.31 hubertf echo '# Last update:' `date` ; \ 31 1.31 hubertf echo '#' ; \ 32 1.31 hubertf ftp -o - ${DOMAIN_URL} \ 33 1.33 apb | ${TOOL_SED} -n -f ${.CURDIR}/domains.sed \ 34 1.24 jhawk ) > domains ; \ 35 1.26 jhawk 36 1.26 jhawk update-na.phone: 37 1.32 apb < /dev/null ${TOOL_AWK} -f nanpa.awk > na.phone 38 1.1 cgd 39 1.34 christos update-country: 40 1.34 christos ${.CURDIR}/make.country > country 41 1.34 christos 42 1.37 christos 43 1.1 cgd .include <bsd.prog.mk> 44 1.37 christos 45 1.37 christos acronyms-o: acronyms-o.${TYPE} 46 1.37 christos @cp ${.ALLSRC} ${.TARGET} 47