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