~wvuloud/loud-platform/lolucid

1.1.1 by Tim Bielawa
autoport
1
#!/usr/bin/make -f
2
# -- makefile --
3
4
# Example debian/rules file taken from the loud-reference package. The
5
# file loud-reference.xml is in the package root.
6
7
# Include our two basic cdbs files.
8
include /usr/share/cdbs/1/rules/debhelper.mk
9
include /usr/share/cdbs/loud/class/docbook.mk
10
11
# XSLFLAGS are passed to every call to xsltproc performed as part of
12
# the make. The xml source for lcsee-reference is split up into
13
# individual files which are included using xincludes, and so we must
14
# pass the --xinclude switch. We also want to use the default loud
15
# stylesheet, and thus pass the appropriate switch.
16
XSLFLAGS=--xinclude --stringparam html.stylesheet "/usr/share/xml/docbook/stylesheet/loud/loud.css"
17
18
# This target is always called as a part of the build process.
19
common-build-indep:: loud-reference.pdf loud-reference.html
20
21
# Cleaning the directory involves removing the generated files -- we
22
# want to package the output (html/pdf), but store the source (xml).
23
clean::
24
	rm -f loud-reference.pdf loud-reference.html loud-reference.fo
25
# The .fo file is a halfway point for transforming from xml to print
26
# outputs (specifically pdf in this case). In general people do not
27
# want this file.
28
29
# It's that simple! The output files will be generated at build
30
# time. Install those files using debian/install or debian/docs, or
31
# whatever method is appropriate.