aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-10-26 12:12:57 +0200
committerKarel Kočí <cynerd@email.cz>2016-10-26 12:12:57 +0200
commitd9494c07ad3a89a2435b0a6306dc634cf5a346e5 (patch)
tree581d51059f6dfe4f2a55888c6c74b229920852d0 /Makefile
parentbbfae8426156de76783ca73f3a11e0e4bcb24650 (diff)
downloadgeml-d9494c07ad3a89a2435b0a6306dc634cf5a346e5.tar.gz
geml-d9494c07ad3a89a2435b0a6306dc634cf5a346e5.tar.bz2
geml-d9494c07ad3a89a2435b0a6306dc634cf5a346e5.zip
Add parser states graph
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
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 \