spice/docs/manual/Makefile.am
Christophe Fergeau 37bf7a5163 doc: Generate chunked manual
This commit makes use of a2x in order to generate a chunked manual in
addition to the "all in one page" one.
2014-04-16 16:33:44 +02:00

32 lines
547 B
Makefile

NULL =
SUFFIXES = .html
ASCIIDOC_FLAGS = -a icons -a toc
EXTRA_DIST = \
docbook-xsl.css \
images/icons/*.png \
images/spicec01.png \
manual.html \
manual.chunked \
manual.txt \
$(NULL)
.txt.html:
$(AM_V_GEN) $(ASCIIDOC) $(ASCIIDOC_FLAGS) $<
manual.chunked: manual.txt
$(AM_V_GEN) $(A2X) -f chunked -D $(builddir) $(ASCIIDOC_FLAGS) $<
docfiles =
if BUILD_HTML_MANUAL
docfiles += manual.html
endif
if BUILD_CHUNKED_MANUAL
docfiles += manual.chunked
endif
all-local: $(docfiles)
clean-local:
rm -rf manual.chunked