From d9494c07ad3a89a2435b0a6306dc634cf5a346e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 26 Oct 2016 12:12:57 +0200 Subject: Add parser states graph --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8ababfe..78414f4 100644 --- a/Makefile +++ b/Makefile @@ -87,18 +87,23 @@ distclean:: clean @echo " CLEAN configuration" $(Q)$(RM) $(O)/.config +docs/%.dot.png: docs/%.dot + @echo " DOT $@" + $(Q)dot -Tpng -O $< + .PHONY: docs -docs: +docs: docs/parser-states.dot.png @echo " DOC $@" $(Q)mkdocs build .PHONY: serve-docs -serve-docs: +serve-docs: docs/parser-states.dot.png $(Q)mkdocs serve .PHONY: clean-docs clean-docs: @echo " CLEAN docs" + $(Q)$(RM) docs/parser-states.dot.png $(Q)$(RM) -r site ifeq (,$(filter clean distclean help docs serve-docs clean-docs \ -- cgit v1.2.3