summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGabriel Scherer <gabriel.scherer@gmail.com>2014-04-19 09:05:32 +0000
committerGabriel Scherer <gabriel.scherer@gmail.com>2014-04-19 09:05:32 +0000
commit56f1f8a89dcfe68ca7cfde06580ee9dcf1056d85 (patch)
tree51bbff3ad2269f1b6022e699b649548005d4ae3a /Makefile
parent5ef784b7b23561d6732a7cd52441c4dae5210640 (diff)
makefile target to build the stdlib documentation as html
(Patch by Simon Cruanes) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14645 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a7170fbe0..ccddd149a 100644
--- a/Makefile
+++ b/Makefile
@@ -723,6 +723,12 @@ ocamldoc: ocamlc ocamlyacc ocamllex otherlibraries
ocamldoc.opt: ocamlc.opt ocamlyacc ocamllex
cd ocamldoc && $(MAKE) opt.opt
+# Documentation
+
+html_doc: ocamldoc
+ make -C ocamldoc html_doc
+ @echo "documentation is in ./ocamldoc/stdlib_html/"
+
partialclean::
cd ocamldoc && $(MAKE) clean