aboutsummaryrefslogtreecommitdiff
path: root/doc/dune
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-12-27 11:14:59 +0100
committerEmilio Jesus Gallego Arias2018-12-27 11:14:59 +0100
commit2760bdc584d3b49d9ebcd2052c6be13e08cb1429 (patch)
tree8bdb4aa1b6e1d32be3a2b70998c147212a85a2fb /doc/dune
parent721457e41db164057025f48a8a46596397c0c5c8 (diff)
parent3d833269860ae9fe8e6f4a3d936d23404afe453e (diff)
Merge PR #9277: [dune] Build refman with fatal warnings like in the Makefile build.
Diffstat (limited to 'doc/dune')
-rw-r--r--doc/dune6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/dune b/doc/dune
index 54ffa87205..6372fe4a91 100644
--- a/doc/dune
+++ b/doc/dune
@@ -10,8 +10,10 @@
; + 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)))
+ (source_tree tools)
+ (env_var SPHINXWARNOPT))
+ (action
+ (run sphinx-build -j4 %{env:SPHINXWARNOPT=-W} -b html -d sphinx_build/doctrees sphinx sphinx_build/html)))
(alias
(name refman-html)