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