Makefile revision 1.37
11.37Schristos#	$NetBSD: Makefile,v 1.37 2015/04/21 22:40:37 christos 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.13Shubertf
231.13Shubertf# According to iana@ISI.EDU, the URL below is the authoritative list
241.13Shubertf# distributed by the ISO 3166 Maintenance Agency.
251.31ShubertfDOMAIN_URL=	http://www.iana.org/root-whois/index.html 
261.13Shubertfupdate-domains:
271.13Shubertf	( \
281.31Shubertf	  echo '# $$''NetBSD''$$' ;  \
291.31Shubertf	  echo '# ISO 3166 country codes, from ${DOMAIN_URL}' ; \
301.31Shubertf	  echo '# Last update:' `date` ; \
311.31Shubertf	  echo '#' ; \
321.31Shubertf	  ftp -o - ${DOMAIN_URL} \
331.33Sapb	  | ${TOOL_SED} -n -f ${.CURDIR}/domains.sed \
341.24Sjhawk	 ) > domains ; \
351.26Sjhawk
361.26Sjhawkupdate-na.phone:
371.32Sapb	< /dev/null ${TOOL_AWK} -f nanpa.awk > na.phone
381.1Scgd
391.34Schristosupdate-country:
401.34Schristos	${.CURDIR}/make.country > country
411.34Schristos
421.37Schristos
431.1Scgd.include <bsd.prog.mk>
441.37Schristos
451.37Schristosacronyms-o: acronyms-o.${TYPE}
461.37Schristos	@cp ${.ALLSRC} ${.TARGET}
47