Whamcloud - gitweb
LUDOC-287 protocol: Update Connection Discussion
[doc/protocol.git] / Makefile
1 FIGURES = figures/mkdir1.png
2 TEXT = protocol.txt \
3        introduction.txt \
4        data_types.txt \
5        connection.txt \
6        timeouts.txt \
7        file_id.txt \
8        ldlm.txt \
9        llog.txt \
10        recovery.txt \
11        security.txt \
12        lustre_messages.txt \
13        lustre_operations.txt \
14        file_system_operations.txt \
15        glossary.txt
16
17 .SUFFIXES : .gnuplot .gv .pdf .png
18
19 .PHONY: all
20 all: protocol.html protocol.pdf
21
22 .PHONY: check
23 check: $(TEXT)
24         @echo "Are there lines with trailing white space?"
25         build/whitespace.sh $<
26
27 protocol.html: $(FIGURES) $(TEXT)
28         asciidoc protocol.txt
29
30 protocol.pdf: $(FIGURES) $(TEXT)
31         a2x -f pdf --fop protocol.txt
32
33 .gv.png:
34         dot -Tpng $< -o $@
35
36 .PHONY : clean
37 clean:
38         rm -f *.xml *.html *.pdf figures/*.png
39
40