Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / bind / dist / Makefile.in
blob9d65b0d724fa798369bdd66b9d5870cbd3f6a61e
1 # Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 1998-2002 Internet Software Consortium.
4 # Permission to use, copy, modify, and/or distribute this software for any
5 # purpose with or without fee is hereby granted, provided that the above
6 # copyright notice and this permission notice appear in all copies.
8 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9 # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11 # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 # PERFORMANCE OF THIS SOFTWARE.
16 # Id: Makefile.in,v 1.58 2009/11/26 20:52:44 marka Exp
18 srcdir = @srcdir@
19 VPATH = @srcdir@
20 top_srcdir = @top_srcdir@
22 @BIND9_VERSION@
24 SUBDIRS = make lib bin doc @LIBEXPORT@
25 TARGETS =
27 MANPAGES = isc-config.sh.1
29 HTMLPAGES = isc-config.sh.html
31 MANOBJS = ${MANPAGES} ${HTMLPAGES}
33 @BIND9_MAKE_RULES@
35 distclean::
36 rm -f config.cache config.h config.log config.status TAGS
37 rm -f libtool isc-config.sh configure.lineno
38 rm -f util/conf.sh docutil/docbook2man-wrapper.sh
40 # XXX we should clean libtool stuff too. Only do this after we add rules
41 # to make it.
42 maintainer-clean::
43 rm -f configure
45 docclean manclean maintainer-clean::
46 rm -f ${MANOBJS}
48 doc man:: ${MANOBJS}
50 installdirs:
51 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} \
52 ${DESTDIR}${localstatedir}/run ${DESTDIR}${sysconfdir}
53 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
55 install:: isc-config.sh installdirs
56 ${INSTALL_SCRIPT} isc-config.sh ${DESTDIR}${bindir}
57 ${INSTALL_DATA} ${top_srcdir}/isc-config.sh.1 ${DESTDIR}${mandir}/man1
58 ${INSTALL_DATA} ${top_srcdir}/bind.keys ${DESTDIR}${sysconfdir}
60 tags:
61 rm -f TAGS
62 find lib bin -name "*.[ch]" -print | @ETAGS@ -
64 check: test
66 test:
67 (cd bin/tests && ${MAKE} ${MAKEDEFS} test)
69 FAQ: FAQ.xml
70 ${XSLTPROC} doc/xsl/isc-docbook-text.xsl FAQ.xml | \
71 LC_ALL=C ${W3M} -T text/html -dump -cols 72 >$@.tmp
72 mv $@.tmp $@
74 clean::
75 rm -f FAQ.tmp