Makefile revision 1.39
11.39Snikita# $NetBSD: Makefile,v 1.39 2023/04/30 22:08:14 nikita Exp $ 21.10Smikel# @(#)Makefile 8.1 (Berkeley) 6/8/93 31.1Scgd 41.37SchristosFILES= NetBSD.el acronyms acronyms-o acronyms.comp airport ascii \ 51.29Swiz birthtoken bsd-family-tree \ 61.36Sjruoho country domains operator \ 71.20Sfvdl eqnchar flowers indent.pro inter.phone language man.template \ 81.35Sjruoho mdoc.template na.phone na.postal style zipcodes 91.11SmycroftFILESDIR=${BINDIR}/misc 101.13Shubertf 111.37Schristos# TO AVOID INSTALLING THE POTENTIALLY OFFENSIVE FORTUNES, RUN 'make' with 121.37Schristos# "INSTALL_OFFENSIVE_FORTUNES=NO", or set "INSTALL_OFFENSIVE_FORTUNES=NO" 131.37Schristos# IN bsd.own.mk OR /etc/mk.conf. 141.37Schristos 151.37SchristosINSTALL_OFFENSIVE_FORTUNES?= YES 161.37Schristos.if (${INSTALL_OFFENSIVE_FORTUNES} == "YES") 171.37SchristosTYPE= real 181.37Schristos.else 191.37SchristosTYPE= fake 201.37Schristos.endif 211.37SchristosCLEANFILES+=acronyms-o 221.38SmrgFILESBUILD_acronyms-o=yes 231.13Shubertf 241.13Shubertf# According to iana@ISI.EDU, the URL below is the authoritative list 251.13Shubertf# distributed by the ISO 3166 Maintenance Agency. 261.39SnikitaDOMAIN_URL= https://www.iana.org/domains/root/db 271.13Shubertfupdate-domains: 281.13Shubertf ( \ 291.31Shubertf echo '# $$''NetBSD''$$' ; \ 301.31Shubertf echo '# ISO 3166 country codes, from ${DOMAIN_URL}' ; \ 311.31Shubertf echo '# Last update:' `date` ; \ 321.31Shubertf echo '#' ; \ 331.31Shubertf ftp -o - ${DOMAIN_URL} \ 341.39Snikita | ${TOOL_SED} -f ${.CURDIR}/nanpa.sed \ 351.39Snikita | ${TOOL_SED} '/^\..*/!d' \ 361.39Snikita | ${TOOL_AWK} 'BEGIN{FS=":"} {print $$1 " " $$3}' \ 371.24Sjhawk ) > domains ; \ 381.26Sjhawk 391.26Sjhawkupdate-na.phone: 401.32Sapb < /dev/null ${TOOL_AWK} -f nanpa.awk > na.phone 411.1Scgd 421.34Schristosupdate-country: 431.34Schristos ${.CURDIR}/make.country > country 441.34Schristos 451.37Schristos 461.1Scgd.include <bsd.prog.mk> 471.37Schristos 481.37Schristosacronyms-o: acronyms-o.${TYPE} 491.37Schristos @cp ${.ALLSRC} ${.TARGET} 50