diff options
| author | Emilio Jesus Gallego Arias | 2018-09-10 11:37:09 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2018-09-21 01:01:02 +0200 |
| commit | 81e4c7152da598c1750e7881b197a6fcf54e818d (patch) | |
| tree | 04b28f3ccc82a436b6202840477a3f5889f98745 /Makefile.dune | |
| parent | 8f23d8d339403006d6464510c7d2cd285cf38b0a (diff) | |
[dune] [configure] Allow to set prefix using environment variable.
This is a hack to enable correct OPAM building, the medium-term plan
is to avoid having to set a prefix at configure time but instead using
a set of rules to locate the Coq library.
We use `(env_var ...)` in a dependency rule, which a feature of Dune 1.2
Diffstat (limited to 'Makefile.dune')
| -rw-r--r-- | Makefile.dune | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.dune b/Makefile.dune index e04982650f..2d303b9846 100644 --- a/Makefile.dune +++ b/Makefile.dune @@ -7,6 +7,9 @@ # DUNEOPT=--display=short BUILD_CONTEXT=_build/default +COQ_CONFIGURE_PREFIX?=_build/install/default + +export COQ_CONFIGURE_PREFIX help: @echo "Welcome to Coq's Dune-based build system. Targets are:" |
