1 # Copyright (C) 2004-2007, 2009, 2012, 2014, 2015 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 2001, 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.22 2009/02/12 23:47:56 tbox Exp
20 top_srcdir
= @top_srcdir@
26 PKGVERSION
= @PACKAGE_VERSION@
28 MANOBJS
= Bv9ARM.html notes.html
30 PDFOBJS
= Bv9ARM.pdf notes.pdf
32 doc man
:: ${MANOBJS} ${PDFOBJS}
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
40 docclean manclean maintainer-clean
:: clean
41 rm -f
*.html
${PDFOBJS}
43 docclean manclean maintainer-clean
distclean::
48 notes.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
-
52 notes.
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
59 notes.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)
63 Bv9ARM.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
-
68 Bv9ARM-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
-
72 Bv9ARM.
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
79 Bv9ARM.
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)
85 Bv9ARM.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)
93 releaseinfo.xml
: FORCE
94 echo
>$@
'<releaseinfo>BIND Version ${VERSION}</releaseinfo>'
96 noteversion.xml
: FORCE
97 echo
>$@
'<title>Release Notes for BIND Version ${VERSION}</title>'
100 echo
>$@
' <para>This version of the manual corresponds to BIND version ${PKGVERSION}.</para>'