aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 65ce899ca6..09ab4276b0 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -6,6 +6,17 @@ all: minicoq.dvi
coq.dvi: coq.tex
latex coq && latex coq
+coq.tex::
+ make -C .. doc/coq.tex
+
+depend: kernel.dep.ps library.dep.ps
+
+%.dot:
+ (cd ../$*; ocamldep *.ml *.mli) | ocamldot -lr > $@
+
+%.dep.ps: %.dot
+ dot -Tps $< -o $@
+
clean::
rm -f *~ *.log *.aux
@@ -16,3 +27,4 @@ clean::
.dvi.ps:
dvips $< -o
+