X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=ed552c02f4b5debaebebdebe1afa99f5fc96316b;hb=ab6002fff4823e6bfc86962eae72b63452c7b586;hp=0000000000000000000000000000000000000000;hpb=446b4a05ecbd5606d2793bf7b47edbfe117450d9;p=doc%2Fprotocol.git diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ed552c0 --- /dev/null +++ b/Makefile @@ -0,0 +1,26 @@ +FIGURES = figures/mkdir1.png + +.SUFFIXES : .gnuplot .gv .pdf .png + +.PHONY: all +all: protocol.html protocol.pdf + +.PHONY: check +check: protocol.txt + @echo "Are there lines with trailing white space?" + build/whitespace.sh $< + +protocol.html: $(FIGURES) protocol.txt + asciidoc protocol.txt + +protocol.pdf: $(FIGURES) protocol.txt + a2x -f pdf --fop protocol.txt + +.gv.png: + dot -Tpng $< -o $@ + +.PHONY : clean +clean: + rm -f *.xml *.html *.pdf figures/*.png + +