aboutsummaryrefslogtreecommitdiff
path: root/doc/dune
diff options
context:
space:
mode:
authorThéo Zimmermann2018-12-23 17:37:28 +0100
committerThéo Zimmermann2018-12-26 23:48:02 +0100
commit3d833269860ae9fe8e6f4a3d936d23404afe453e (patch)
tree7b8eaac774d8f5828c97f5f958140e679865f539 /doc/dune
parentb878216ca5e85f8164fa098b9dc0e688a212072d (diff)
[dune] Build refman with fatal warnings by default like in the Makefile build.
The way to override this default is not exactly the same as in the legacy Makefile but it has been documented as well.
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)