diff options
Diffstat (limited to 'config/dune')
| -rw-r--r-- | config/dune | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config/dune b/config/dune new file mode 100644 index 0000000000..c146e7df67 --- /dev/null +++ b/config/dune @@ -0,0 +1,13 @@ +(library + (name config) + (synopsis "Coq Configuration Variables") + (public_name coq.config) + (wrapped false)) + +; Dune doesn't use configure's output, but it is still necessary for +; some Coq files to work; will be fixed in the future. +(rule + (targets coq_config.ml coq_config.py Makefile) + (mode fallback) + (deps %{project_root}/configure.ml %{project_root}/dev/ocamldebug-coq.run (env_var COQ_CONFIGURE_PREFIX)) + (action (chdir %{project_root} (run %{ocaml} configure.ml -no-ask -native-compiler no)))) |
