Makefile.in 2.82 KB
Newer Older
Mark Andrews's avatar
Mark Andrews committed
1
# Copyright (C) 2004-2007, 2009, 2012, 2014  Internet Systems Consortium, Inc. ("ISC")
Mark Andrews's avatar
Mark Andrews committed
2 3 4 5 6 7 8 9 10 11 12 13 14
# Copyright (C) 2001, 2002  Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
15

Automatic Updater's avatar
Automatic Updater committed
16
# $Id: Makefile.in,v 1.22 2009/02/12 23:47:56 tbox Exp $
17 18 19 20 21 22 23

srcdir =	@srcdir@
VPATH =		@srcdir@
top_srcdir =	@top_srcdir@

@BIND9_MAKE_RULES@

24 25
@BIND9_VERSION@

26 27
PKGVERSION = @PACKAGE_VERSION@

28 29
MANOBJS = Bv9ARM.html

30 31 32
PDFOBJS = Bv9ARM.pdf

doc man:: ${MANOBJS} ${PDFOBJS}
33

34
clean::
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

38
docclean manclean maintainer-clean:: clean
39 40 41 42
	rm -f *.html ${PDFOBJS}

docclean manclean maintainer-clean distclean::
	rm -f releaseinfo.xml
43
	rm -f pkgversion.xml
44

45
Bv9ARM.html: Bv9ARM-book.xml releaseinfo.xml pkgversion.xml
46
	expand Bv9ARM-book.xml | \
47
	${XSLTPROC} --stringparam root.filename Bv9ARM \
48
		${top_srcdir}/doc/xsl/isc-docbook-chunk.xsl -
49

50
Bv9ARM-all.html: Bv9ARM-book.xml releaseinfo.xml pkgversion.xml
51 52 53
	expand Bv9ARM-book.xml | \
	${XSLTPROC} -o Bv9ARM-all.html ../xsl/isc-docbook-html.xsl -

54
Bv9ARM.tex: Bv9ARM-book.xml releaseinfo.xml pkgversion.xml
55 56
	expand Bv9ARM-book.xml | \
	${XSLTPROC} ${top_srcdir}/doc/xsl/pre-latex.xsl - | \
57 58 59
	${XSLTPROC} ${top_srcdir}/doc/xsl/isc-docbook-latex.xsl - | \
	@PERL@ latex-fixup.pl >$@.tmp 
	if test -s $@.tmp; then mv $@.tmp $@; else rm -f $@.tmp; exit 1; fi
60

61
Bv9ARM.dvi: Bv9ARM.tex releaseinfo.xml pkgversion.xml
62
	rm -f Bv9ARM-book.aux Bv9ARM-book.dvi Bv9ARM-book.log
Mark Andrews's avatar
Mark Andrews committed
63 64 65
	${LATEX} '\batchmode\input Bv9ARM.tex' || (rm -f $@ ; exit 1)
	${LATEX} '\batchmode\input Bv9ARM.tex' || (rm -f $@ ; exit 1)
	${LATEX} '\batchmode\input Bv9ARM.tex' || (rm -f $@ ; exit 1)
66

67
Bv9ARM.pdf: Bv9ARM.tex releaseinfo.xml pkgversion.xml
68
	rm -f Bv9ARM-book.aux Bv9ARM-book.pdf Bv9ARM-book.log
Mark Andrews's avatar
Mark Andrews committed
69 70 71
	${PDFLATEX} '\batchmode\input Bv9ARM.tex' || (rm -f $@ ; exit 1)
	${PDFLATEX} '\batchmode\input Bv9ARM.tex' || (rm -f $@ ; exit 1)
	${PDFLATEX} '\batchmode\input Bv9ARM.tex' || (rm -f $@ ; exit 1)
72

Evan Hunt's avatar
Evan Hunt committed
73 74 75
FORCE:

releaseinfo.xml: FORCE
76
	echo >$@ '<releaseinfo>BIND Version ${VERSION}</releaseinfo>'
77 78 79

pkgversion.xml: FORCE
	echo >$@ '      <para>This version of the manual corresponds to BIND version ${PKGVERSION}.</para>'