Convert documentation to AsciiDoc
[lttng-docs.git] / Makefile
CommitLineData
f0287ae1
PP
1CONF = asciidoc.html5.conf
2PREFIX = lttng-docs
3ALLVERSIONS = 2.5 2.6 2.7
4
5ASCIIDOC = asciidoc -v -f $(CONF) -a source-highlighter=pygments
6RM = rm -rf
7
8htmldst = $(1)/$(PREFIX)-$(1).html
9
10.PHONY: all
11
12all: $(ALLVERSIONS)
13
14.PHONY: $(ALLVERSIONS)
15
162.5: $(call htmldst,2.5)
17
182.6: $(call htmldst,2.6)
19
202.7: $(call htmldst,2.7)
21
22%.html: %.txt $(CONF)
23 $(ASCIIDOC) $<
24
25.PHONY: clean
26
27clean:
28 $(RM) $(foreach version,$(ALLVERSIONS),$(call htmldst,$(version)))
This page took 0.022811 seconds and 4 git commands to generate.