aboutsummaryrefslogtreecommitdiff
path: root/doc/dune
diff options
context:
space:
mode:
authorThéo Zimmermann2018-12-14 12:53:29 +0100
committerThéo Zimmermann2018-12-14 12:53:29 +0100
commit40aac459c94b9a8696e4d23dfdc0ce9279e63616 (patch)
treec6fd34efea1f0ca2638bc9aa68809a2d3640ed46 /doc/dune
parent7e3603069cf591c6c70ef25d4cfc72f62aa44058 (diff)
parentca4e25215144503f1dd42903421a61baee22b73e (diff)
Merge PR #9147: [dune] [doc] Support for building the reference manual with Dune.
Diffstat (limited to 'doc/dune')
-rw-r--r--doc/dune24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/dune b/doc/dune
new file mode 100644
index 0000000000..54ffa87205
--- /dev/null
+++ b/doc/dune
@@ -0,0 +1,24 @@
+(rule
+ (targets sphinx_build)
+ (deps
+ ; We could use finer dependencies here so the build is faster:
+ ;
+ ; - vo files: generated by sphinx after parsing the doc, promoted,
+ ; - Static files:
+ ; + %{bin:coqdoc} etc...
+ ; + config/coq_config.py
+ ; + tools/coqdoc/coqdoc.css
+ (package coq)
+ (source_tree sphinx)
+ (source_tree tools))
+ (action (run sphinx-build -j4 -b html -d sphinx_build/doctrees sphinx sphinx_build/html)))
+
+(alias
+ (name refman-html)
+ (deps sphinx_build))
+
+; The install target still needs more work.
+; (install
+; (section doc)
+; (package coq-refman)
+; (files sphinx_build))