aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-11-21 18:57:34 +0100
committerEmilio Jesus Gallego Arias2019-11-21 18:57:34 +0100
commitbe06ea8aefe8c1a23f1ff28c3466774dc3983ea6 (patch)
treeae6182b2f3828f3306588ec8547cb3aa8a61282e /doc
parent98165082581fc0950639cfee21e140cac8e916ad (diff)
parent799bd29627c554f83c1ec9b4a226a739632cbc29 (diff)
Merge PR #11145: Document -vos flag for coqdep
Reviewed-by: Zimmi48 Reviewed-by: ejgallego
Diffstat (limited to 'doc')
-rw-r--r--doc/sphinx/practical-tools/coq-commands.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/sphinx/practical-tools/coq-commands.rst b/doc/sphinx/practical-tools/coq-commands.rst
index 514f5acc8e..d4a61425e1 100644
--- a/doc/sphinx/practical-tools/coq-commands.rst
+++ b/doc/sphinx/practical-tools/coq-commands.rst
@@ -308,6 +308,14 @@ In addition, ``coq_makefile`` generates for a file ``foo.v`` a target
next, the purpose of this target is to be able to request the minimal
working state for editing interactively the file ``foo.v``.
+.. warning::
+
+ When writing a custom build system, be aware that ``coqdep`` only
+ produces dependencies related to ``.vos`` and ``.vok`` if the
+ ``-vos`` command line flag is passed. This is to maintain
+ compatibility with dune (see `ocaml/dune#2642 on github
+ <https://github.com/ocaml/dune/issues/2842>`_).
+
**Typical compilation of a set of file using a build system.**
Assume a file ``foo.v`` that depends on two files ``f1.v`` and ``f2.v``. The