Debian Codegraph @

doc/dune

raw
1 (rule
2 (targets unreleased.rst)
3 (deps (source_tree changelog))
4 (action (with-stdout-to %{targets} (bash "cat changelog/00-title.rst changelog/*/*.rst"))))
5
6 (alias
7 (name refman-deps)
8 (deps
9 ; We could use finer dependencies here so the build is faster:
10 ;
11 ; - vo files: generated by sphinx after parsing the doc, promoted,
12 ; - Static files:
13 ; + %{bin:coqdoc} etc...
14 ; + config/coq_config.py
15 ; + tools/coqdoc/coqdoc.css
16 (package rocq-runtime)
17 (package rocq-core)
18 (source_tree sphinx)
19 (source_tree tools/rocqrst)
20 ../config/coq_config.py
21 unreleased.rst
22 (env_var SPHINXWARNOPT)
23 (env_var ROCQRST_EXTRA)))
24
25 (rule
26 (targets
27 (dir refman-html))
28 (alias refman-html)
29 (deps (alias refman-deps))
30 (action
31 (run env sphinx-build -q %{env:SPHINXWARNOPT=-W} -b html sphinx %{targets})))
32
33 (rule
34 (targets
35 (dir refman-pdf))
36 (alias refman-pdf)
37 (deps ../ide/rocqide/coq.png (alias refman-deps))
38 (action
39 (progn
40 (run env sphinx-build -q %{env:SPHINXWARNOPT=-W} -b latex sphinx %{targets})
41 (chdir %{targets} (run make LATEXMKOPTS=-silent)))))