aboutsummaryrefslogtreecommitdiff
path: root/tools/dune
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-09-21 04:16:42 +0200
committerEmilio Jesus Gallego Arias2018-09-21 16:56:14 +0200
commitac38da8efc5bb9d046cb70a886edba8f31fcb600 (patch)
treeb12c27a5764f92b3f0ba2032ddb200bb319a476f /tools/dune
parent9b8499178e7ce58c576a81c73f1cc23c74ed8aee (diff)
[dune] Improve support for Coq tools.
- Install `CoqMakefile.in` - Build `coqwc` and `coqdoc` This allows to build most contribs I've tried with the Dune-based OPAM package.
Diffstat (limited to 'tools/dune')
-rw-r--r--tools/dune12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/dune b/tools/dune
index 2ba0e3fe8a..05a620fb07 100644
--- a/tools/dune
+++ b/tools/dune
@@ -10,6 +10,10 @@
(modules coq_makefile)
(libraries coq.lib))
+(install
+ (section lib)
+ (files (CoqMakefile.in as tools/CoqMakefile.in)))
+
(executable
(name coqdep)
(public_name coqdep)
@@ -19,6 +23,14 @@
(ocamllex coqdep_lexer)
(executable
+ (name coqwc)
+ (public_name coqwc)
+ (modules coqwc)
+ (libraries))
+
+(ocamllex coqwc)
+
+(executable
(name coq_tex)
(public_name coq_tex)
(modules coq_tex)