summaryrefslogtreecommitdiffstats
path: root/docs/manual/Makefile.am
blob: ead5f4699bc437410146047ccc73ff37996ac5e7 (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
31
32
NULL =
SUFFIXES = .html
ASCIIDOC_FLAGS = -a icons -a toc

EXTRA_DIST =					\
	images/icons/important.png		\
	images/icons/note.png			\
	images/spicec01.png			\
	manual.html				\
	manual.chunked				\
	manual.txt				\
	$(NULL)

.txt.html:
	$(AM_V_GEN) $(ASCIIDOC) $(ASCIIDOC_FLAGS) -o $@ $<

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 -f manual.html
	rm -rf manual.chunked