blob: e8856a63b6ce07f9a3be213f3691ccd6a4dbdc05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
all: html
.PHONY: html
# apparently, xmlto does not support validation of docbook5 docs
# that's why it's disabled with --skip-validation
XMLTO_FLAGS = --skip-validation
XMLDOC = \
SpiceUserManual-Basics.xml \
SpiceUserManual-Guest.xml \
SpiceUserManual-Installation.xml \
SpiceUserManual-Introduction.xml \
SpiceUserManual-References.xml \
SpiceUserManual.xml \
$(NULL)
html-stamp: $(XMLDOC)
$(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) -o html xhtml $(srcdir)/SpiceUserManual.xml
touch $@
html: html-stamp
# Control what goes in the distribution tarball.
# We include all of the XML, and also generated HTML pages
# so people working from the distribution tarball won't need xmlto.
EXTRA_DIST = $(XMLDOC) html html-stamp
clean-local:
rm -fr html
rm -f *-stamp
|