You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The --with-header and --with-footer arguments of coqdoc (specified via a (coqdoc_flags ...) thingy) have file argument that should be dependencies of all the generated documentation files. It appears that they are currently not considered dependencies, which means that the documentation is not recompiled when the header / footer files change. (And the situation is worse when using the cache.)
To work around this, I typically put these files in /tmp/some_folder/ using a wrapper makefile, and disable the cache. However, this leads to very long building times that could otherwise mostly hit the cache.
The text was updated successfully, but these errors were encountered:
I would suggest adding a new field for these kinds of options. The general coqdoc_flags field can be thought of as a last-resort tweak for features unsupported. Having a dedicated fields will allow you to unambiguously expand passed arguments by using all the stanza magic we have in dune.
The
--with-header
and--with-footer
arguments ofcoqdoc
(specified via a(coqdoc_flags ...)
thingy) have file argument that should be dependencies of all the generated documentation files. It appears that they are currently not considered dependencies, which means that the documentation is not recompiled when the header / footer files change. (And the situation is worse when using the cache.)To work around this, I typically put these files in
/tmp/some_folder/
using a wrapper makefile, and disable the cache. However, this leads to very long building times that could otherwise mostly hit the cache.The text was updated successfully, but these errors were encountered: