Whamcloud - gitweb
ed552c02f4b5debaebebdebe1afa99f5fc96316b
[doc/protocol.git] / Makefile
1 FIGURES = figures/mkdir1.png
2
3 .SUFFIXES : .gnuplot .gv .pdf .png
4
5 .PHONY: all
6 all: protocol.html protocol.pdf
7
8 .PHONY: check
9 check: protocol.txt
10         @echo "Are there lines with trailing white space?"
11         build/whitespace.sh $<
12
13 protocol.html: $(FIGURES) protocol.txt
14         asciidoc protocol.txt
15
16 protocol.pdf: $(FIGURES) protocol.txt
17         a2x -f pdf --fop protocol.txt
18
19 .gv.png:
20         dot -Tpng $< -o $@
21
22 .PHONY : clean
23 clean:
24         rm -f *.xml *.html *.pdf figures/*.png
25
26