FIGURES = figures/mkdir1.png TEXT = protocol.txt \ introduction.txt \ data_types.txt \ connection.txt \ timeouts.txt \ file_id.txt \ ldlm.txt \ llog.txt \ recovery.txt \ security.txt \ lustre_messages.txt \ lustre_operations.txt \ file_system_operations.txt \ glossary.txt .SUFFIXES : .gnuplot .gv .pdf .png .PHONY: all all: protocol.html protocol.pdf .PHONY: check check: $(TEXT) @echo "Are there lines with trailing white space?" build/whitespace.sh $< protocol.html: $(FIGURES) $(TEXT) asciidoc protocol.txt protocol.pdf: $(FIGURES) $(TEXT) a2x -f pdf --fop protocol.txt .gv.png: dot -Tpng $< -o $@ .PHONY : clean clean: rm -f *.xml *.html *.pdf figures/*.png