1 # $NetBSD: Makefile,v 1.38 2015/04/23 02:01:12 mrg Exp $
2 # @(#)Makefile 8.1 (Berkeley) 6/8/93
4 FILES
= 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
9 FILESDIR
=${BINDIR}/misc
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.
15 INSTALL_OFFENSIVE_FORTUNES?
= YES
16 .if
(${INSTALL_OFFENSIVE_FORTUNES} == "YES")
21 CLEANFILES
+=acronyms-o
22 FILESBUILD_acronyms-o
=yes
24 # According to iana@ISI.EDU, the URL below is the authoritative list
25 # distributed by the ISO 3166 Maintenance Agency.
26 DOMAIN_URL
= http
://www.iana.org
/root-whois
/index.html
29 echo
'# $$''NetBSD''$$' ; \
30 echo
'# ISO 3166 country codes, from ${DOMAIN_URL}' ; \
31 echo
'# Last update:' `date` ; \
33 ftp
-o
- ${DOMAIN_URL} \
34 |
${TOOL_SED} -n
-f
${.CURDIR
}/domains.sed \
38 < /dev
/null
${TOOL_AWK} -f nanpa.awk
> na.phone
41 ${.CURDIR
}/make.country
> country
44 .
include <bsd.prog.mk
>
46 acronyms-o
: acronyms-o.
${TYPE}
47 @cp
${.ALLSRC
} ${.TARGET
}