diff options
| author | notin | 2008-01-11 10:59:54 +0000 |
|---|---|---|
| committer | notin | 2008-01-11 10:59:54 +0000 |
| commit | e685bc6f1bc8f7e1160cef53127a11d8d7be7306 (patch) | |
| tree | 221e9c06dd7ec087b81b66e846f00650d88e2684 /dev/ocamlweb-doc/Makefile | |
| parent | cf0fb3424c3256299fa6c39aa5fd10da67d94451 (diff) | |
Amélioration de la génération des graphes de dépendances (utilisation de ocamldoc)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10436 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'dev/ocamlweb-doc/Makefile')
| -rw-r--r-- | dev/ocamlweb-doc/Makefile | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/dev/ocamlweb-doc/Makefile b/dev/ocamlweb-doc/Makefile index 9649101738..5a5b3b9752 100644 --- a/dev/ocamlweb-doc/Makefile +++ b/dev/ocamlweb-doc/Makefile @@ -1,5 +1,20 @@ +include ../../config/Makefile + +LOCALINCLUDES=-I ../../config -I ../../tools -I ../../tools/coqdoc \ + -I ../../scripts -I ../../lib -I ../../kernel -I ../../kernel/byterun -I ../../library \ + -I ../../proofs -I ../../tactics -I ../../pretyping \ + -I ../../interp -I ../../toplevel -I ../../parsing -I ../../ide/utils -I ../../ide \ + -I ../../contrib/omega -I ../../contrib/romega \ + -I ../../contrib/ring -I ../../contrib/dp -I ../../contrib/setoid_ring \ + -I ../../contrib/xml -I ../../contrib/extraction \ + -I ../../contrib/interface -I ../../contrib/fourier \ + -I ../../contrib/jprover -I ../../contrib/cc \ + -I ../../contrib/funind -I ../../contrib/first-order \ + -I ../../contrib/field -I ../../contrib/subtac -I ../../contrib/rtauto \ + -I ../../contrib/recdef + +MLINCLUDES=$(LOCALINCLUDES) -I $(MYCAMLP4LIB) -# Makefile for doc/ all:: newparse coq.ps minicop.ps #newsyntax.dvi minicoq.dvi @@ -55,8 +70,8 @@ coq.tex:: depend:: kernel.dep.ps library.dep.ps pretyping.dep.ps parsing.dep.ps \ proofs.dep.ps tactics.dep.ps toplevel.dep.ps interp.dep.ps -%.dot: ../% - (cd ../$*; ocamldep *.ml *.mli) | ocamldot -lr > $@ +%.dot: ../../% + ocamldoc -rectypes $(MLINCLUDES) -t $* -dot -dot-reduce ../../$*/*.ml ../../$*/*.mli -o $@ %.dep.ps: %.dot dot -Tps $< -o $@ |
