[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / share / misc

File: [cvs.NetBSD.org] / src / share / misc / Makefile (download)

Revision 1.31, Sat Sep 29 15:40:31 2007 UTC (12 years, 9 months ago) by hubertf
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, mjf-devfs2-base, mjf-devfs2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Changes since 1.30: +8 -8 lines

Fix the update-domains target:
update domains.sed to parse new HTML structure, and greatly simplify
it at the same time.

#	$NetBSD: Makefile,v 1.31 2007/09/29 15:40:31 hubertf Exp $
#	@(#)Makefile	8.1 (Berkeley) 6/8/93

NOOBJ=	# defined

FILES=	NetBSD.el acronyms acronyms.comp airport ascii \
	birthtoken bsd-family-tree \
	country domains \
	eqnchar flowers indent.pro inter.phone language man.template \
	mdoc.template na.phone na.postal operator style zipcodes
FILESDIR=${BINDIR}/misc


# According to iana@ISI.EDU, the URL below is the authoritative list
# distributed by the ISO 3166 Maintenance Agency.
DOMAIN_URL=	http://www.iana.org/root-whois/index.html 
update-domains:
	( \
	  echo '# $$''NetBSD''$$' ;  \
	  echo '# ISO 3166 country codes, from ${DOMAIN_URL}' ; \
	  echo '# Last update:' `date` ; \
	  echo '#' ; \
	  ftp -o - ${DOMAIN_URL} \
	  | sed -n -f ${.CURDIR}/domains.sed \
	 ) > domains ; \

update-na.phone:
	< /dev/null awk -f nanpa.awk > na.phone

.include <bsd.prog.mk>