summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorInternet Software Consortium, Inc <@isc.org>2007-09-07 14:15:43 -0600
committerLaMont Jones <lamont@debian.org>2007-09-07 14:15:43 -0600
commitb839699f526d760de08fdb2c47b37987b3e90e3c (patch)
tree69ffa630921434643778cc4a1560479796cb8914 /make
parent6ed2e67461f7dd53c085c56e246cef71d36ea7db (diff)
downloadbind9-b839699f526d760de08fdb2c47b37987b3e90e3c.tar.gz
9.3.2b1
Diffstat (limited to 'make')
-rw-r--r--make/rules.in62
1 files changed, 29 insertions, 33 deletions
diff --git a/make/rules.in b/make/rules.in
index 45bca273..4e79e97e 100644
--- a/make/rules.in
+++ b/make/rules.in
@@ -1,4 +1,4 @@
-# Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2003 Internet Software Consortium.
#
# Permission to use, copy, modify, and distribute this software for any
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
-# $Id: rules.in,v 1.40.2.5.4.4 2004/07/20 07:02:00 marka Exp $
+# $Id: rules.in,v 1.40.2.5.4.7 2005/05/12 21:36:17 sra Exp $
###
### Common Makefile rules for BIND 9.
@@ -112,8 +112,7 @@ ALL_CPPFLAGS = \
${ALWAYS_INCLUDES} ${CINCLUDES} ${STD_CINCLUDES} \
${ALWAYS_DEFINES} ${CDEFINES} ${STD_CDEFINES}
-ALL_CFLAGS = ${EXT_CFLAGS} ${CFLAGS} \
- ${ALL_CPPFLAGS} \
+ALL_CFLAGS = ${EXT_CFLAGS} ${ALL_CPPFLAGS} ${CFLAGS} \
${ALWAYS_WARNINGS} ${STD_CWARNINGS} ${CWARNINGS}
.c.@O@:
@@ -181,48 +180,45 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
###
+### Programs used when generating documentation. It's ok for these
+### not to exist when not generating documentation.
+###
+
+XSLTPROC = @XSLTPROC@ --novalid
+PERL = @PERL@
+LATEX = @LATEX@
+PDFLATEX = @PDFLATEX@
+
+###
### DocBook -> HTML
### DocBook -> man page
###
.SUFFIXES: .docbook .html .1 .2 .3 .4 .5 .6 .7 .8
-OPENJADE = @OPENJADE@
-SGMLCATALOG = @SGMLCATALOG@
-HTMLSTYLE = @HTMLSTYLE@
-XMLDCL = @XMLDCL@
-DOCBOOK2MANSPEC = @DOCBOOK2MANSPEC@
-JADETEX = @JADETEX@
-PDFJADETEX = @PDFJADETEX@
-
-ONSGMLS = onsgmls
-SGMLSPL = sgmlspl
-
-#
-# Note: this rule assumes the docbook.dsl stylesheet
-# is being used. If another stylesheet is used, the
-# filename 'r1.htm' in the rule might have to be
-# be changed.
-#
.docbook.html:
- ${OPENJADE} -c ${SGMLCATALOG} -t sgml -d ${HTMLSTYLE} $<
- echo "" >> r1.htm
- cat ${top_srcdir}/docutil/HTML_COPYRIGHT r1.htm > $@
- rm -f r1.htm
+ ${XSLTPROC} -o $@ ${top_srcdir}/doc/xsl/isc-docbook-html.xsl $<
.docbook.1:
- sh ${top_srcdir}/docutil/docbook2man-wrapper.sh ${top_srcdir} $< $@
+ ${XSLTPROC} -o $@ ${top_srcdir}/doc/xsl/isc-manpage.xsl $<
+
.docbook.2:
- sh ${top_srcdir}/docutil/docbook2man-wrapper.sh ${top_srcdir} $< $@
+ ${XSLTPROC} -o $@ ${top_srcdir}/doc/xsl/isc-manpage.xsl $<
+
.docbook.3:
- sh ${top_srcdir}/docutil/docbook2man-wrapper.sh ${top_srcdir} $< $@
+ ${XSLTPROC} -o $@ ${top_srcdir}/doc/xsl/isc-manpage.xsl $<
+
.docbook.4:
- sh ${top_srcdir}/docutil/docbook2man-wrapper.sh ${top_srcdir} $< $@
+ ${XSLTPROC} -o $@ ${top_srcdir}/doc/xsl/isc-manpage.xsl $<
+
.docbook.5:
- sh ${top_srcdir}/docutil/docbook2man-wrapper.sh ${top_srcdir} $< $@
+ ${XSLTPROC} -o $@ ${top_srcdir}/doc/xsl/isc-manpage.xsl $<
+
.docbook.6:
- sh ${top_srcdir}/docutil/docbook2man-wrapper.sh ${top_srcdir} $< $@
+ ${XSLTPROC} -o $@ ${top_srcdir}/doc/xsl/isc-manpage.xsl $<
+
.docbook.7:
- sh ${top_srcdir}/docutil/docbook2man-wrapper.sh ${top_srcdir} $< $@
+ ${XSLTPROC} -o $@ ${top_srcdir}/doc/xsl/isc-manpage.xsl $<
+
.docbook.8:
- sh ${top_srcdir}/docutil/docbook2man-wrapper.sh ${top_srcdir} $< $@
+ ${XSLTPROC} -o $@ ${top_srcdir}/doc/xsl/isc-manpage.xsl $<