Split 'tidier bot replies'.
[supybook.git] / Makefile
blobea4a0ecf94cf9c89af3b7d079c08410d972338fa
1 PARAMS=-a toc -a toclevels=3 -a date=$(shell date +%Y-%m-%d) -a numbered -d book
2 ifdef REVISION
3 PARAMS+=-a revision=$(REVISION)
4 #else
5 #PARAMS+=-a revision=$(shell git describe)
6 endif
8 all: index.html
10 pdf: index.pdf
12 %.html: %.txt
13 asciidoc $(PARAMS) $<
15 %.pdf: %.txt
16 a2x $(PARAMS) -f pdf $<
18 clean:
19 @$(RM) index.html
21 .PHONY: all pdf