xref: /minix/external/bsd/bind/dist/doc/arm/Makefile.in (revision fb9c64b2)
1# Copyright (C) 2004-2007, 2009, 2012, 2014, 2015  Internet Systems Consortium, Inc. ("ISC")
2# Copyright (C) 2001, 2002  Internet Software Consortium.
3#
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.
7#
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.
15
16# Id: Makefile.in,v 1.22 2009/02/12 23:47:56 tbox Exp
17
18srcdir =	@srcdir@
19VPATH =		@srcdir@
20top_srcdir =	@top_srcdir@
21
22@BIND9_MAKE_RULES@
23
24@BIND9_VERSION@
25
26PKGVERSION = @PACKAGE_VERSION@
27
28MANOBJS = Bv9ARM.html notes.html
29
30PDFOBJS = Bv9ARM.pdf notes.pdf
31
32doc man:: ${MANOBJS} ${PDFOBJS}
33
34clean::
35	rm -f Bv9ARM.aux Bv9ARM.brf Bv9ARM.glo Bv9ARM.idx Bv9ARM.toc
36	rm -f Bv9ARM.log Bv9ARM.out Bv9ARM.tex Bv9ARM.tex.tmp
37	rm -f notes.aux notes.brf notes.glo notes.idx notes.toc
38	rm -f notes.log notes.out notes.tex notes.tex.tmp
39
40docclean manclean maintainer-clean:: clean
41	rm -f *.html ${PDFOBJS}
42
43docclean manclean maintainer-clean distclean::
44	rm -f releaseinfo.xml
45	rm -f pkgversion.xml
46	rm -f noteversion.xml
47
48notes.html: notes-wrapper.xml notes.xml releaseinfo.xml pkgversion.xml noteversion.xml
49	expand notes-wrapper.xml | \
50	${XSLTPROC} --stringparam generate.toc "" -o notes.html ../xsl/isc-notes-html.xsl -
51
52notes.tex: notes-wrapper.xml notes.xml releaseinfo.xml pkgversion.xml noteversion.xml
53	expand notes-wrapper.xml | \
54	${XSLTPROC} --stringparam generate.toc "book toc" ${top_srcdir}/doc/xsl/pre-latex.xsl - | \
55	${XSLTPROC} ${top_srcdir}/doc/xsl/isc-notes-latex.xsl - | \
56	@PERL@ latex-fixup.pl >$@.tmp
57	if test -s $@.tmp; then mv $@.tmp $@; else rm -f $@.tmp; exit 1; fi
58
59notes.pdf: notes.tex releaseinfo.xml pkgversion.xml noteversion.xml
60	rm -f notes-wrapper.aux notes.pdf notes.log
61	${PDFLATEX} '\batchmode\input notes.tex' || (rm -f $@ ; exit 1)
62
63Bv9ARM.html: Bv9ARM-book.xml releaseinfo.xml pkgversion.xml noteversion.xml
64	expand Bv9ARM-book.xml | \
65	${XSLTPROC} --stringparam root.filename Bv9ARM \
66		${top_srcdir}/doc/xsl/isc-docbook-chunk.xsl -
67
68Bv9ARM-all.html: Bv9ARM-book.xml releaseinfo.xml pkgversion.xml noteversion.xml
69	expand Bv9ARM-book.xml | \
70	${XSLTPROC} -o Bv9ARM-all.html ../xsl/isc-docbook-html.xsl -
71
72Bv9ARM.tex: Bv9ARM-book.xml releaseinfo.xml pkgversion.xml noteversion.xml
73	expand Bv9ARM-book.xml | \
74	${XSLTPROC} ${top_srcdir}/doc/xsl/pre-latex.xsl - | \
75	${XSLTPROC} ${top_srcdir}/doc/xsl/isc-docbook-latex.xsl - | \
76	@PERL@ latex-fixup.pl >$@.tmp
77	if test -s $@.tmp; then mv $@.tmp $@; else rm -f $@.tmp; exit 1; fi
78
79Bv9ARM.dvi: Bv9ARM.tex releaseinfo.xml pkgversion.xml noteversion.xml
80	rm -f Bv9ARM-book.aux Bv9ARM-book.dvi Bv9ARM-book.log
81	${LATEX} '\batchmode\input Bv9ARM.tex' || (rm -f $@ ; exit 1)
82	${LATEX} '\batchmode\input Bv9ARM.tex' || (rm -f $@ ; exit 1)
83	${LATEX} '\batchmode\input Bv9ARM.tex' || (rm -f $@ ; exit 1)
84
85Bv9ARM.pdf: Bv9ARM.tex releaseinfo.xml pkgversion.xml noteversion.xml
86	rm -f Bv9ARM-book.aux Bv9ARM-book.pdf Bv9ARM-book.log
87	${PDFLATEX} '\batchmode\input Bv9ARM.tex' || (rm -f $@ ; exit 1)
88	${PDFLATEX} '\batchmode\input Bv9ARM.tex' || (rm -f $@ ; exit 1)
89	${PDFLATEX} '\batchmode\input Bv9ARM.tex' || (rm -f $@ ; exit 1)
90
91FORCE:
92
93releaseinfo.xml: FORCE
94	echo >$@ '<releaseinfo>BIND Version ${VERSION}</releaseinfo>'
95
96noteversion.xml: FORCE
97	echo >$@ '<title>Release Notes for BIND Version ${VERSION}</title>'
98
99pkgversion.xml: FORCE
100	echo >$@ '      <para>This version of the manual corresponds to BIND version ${PKGVERSION}.</para>'
101