aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorppedrot2012-09-25 16:58:28 +0000
committerppedrot2012-09-25 16:58:28 +0000
commita9e25d7cea5d3b85600a43c4a0bf8ead5ecb724e (patch)
treefb7b95e594dcedb83c0a52d87500572eaed1e5af
parentc3426a0533f1b7a1718387c9d8e905a348ed34b8 (diff)
Added a ml-dot option to Makefile to generate dependency graph of core modules
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15832 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--Makefile.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.build b/Makefile.build
index a3c706e4b4..41d0fc18aa 100644
--- a/Makefile.build
+++ b/Makefile.build
@@ -673,6 +673,10 @@ mli-doc:: $(DOCMLIS:.mli=.cmi)
-t "Coq mlis documentation" -intro $(OCAMLDOCDIR)/docintro \
-css-style style.css
+ml-dot:: $(MLEXTRAFILES)
+ $(OCAMLDOC) -dot -dot-reduce -rectypes -I $(CAMLLIB) -I $(MYCAMLP4LIB) $(MLINCLUDES)\
+ $(filter $(addsuffix /%.ml,$(CORESRCDIRS)),$(MLFILES)) -o $(OCAMLDOCDIR)/coq.dot
+
%_dep.png: %.dot
$(DOT) -Tpng $< -o $@