aboutsummaryrefslogtreecommitdiff
path: root/Makefile.dune
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-03-28 16:50:25 +0100
committerEmilio Jesus Gallego Arias2019-03-28 16:50:25 +0100
commit5c7a943719429f18c567e2562f42ca90b999ff35 (patch)
tree689d7f900adc6fbeb7dafb078b935955fa7603f5 /Makefile.dune
parent688e20c432d2639050a62703e1c566ddfbe42b2a (diff)
[dune] Don't regenerate ltac/dune after bootstrapping.
Once we have the good `plugins/ltac/dune` in place for bootstrapping, we should not regenerate it. Thanks to @maximedenes for the report. This fixes `make states` always rebuilding ltac's dependencies.
Diffstat (limited to 'Makefile.dune')
-rw-r--r--Makefile.dune4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.dune b/Makefile.dune
index 4609c563d9..ebf74978a9 100644
--- a/Makefile.dune
+++ b/Makefile.dune
@@ -42,8 +42,10 @@ help:
@echo " - help: show this message"
# We need to bootstrap with a dummy coq.plugins.ltac so install targets do work.
-voboot:
+plugins/ltac/dune:
@echo "(library (name ltac_plugin) (public_name coq.plugins.ltac) (modules_without_implementation extraargs extratactics))" > plugins/ltac/dune
+
+voboot: plugins/ltac/dune
dune build $(DUNEOPT) @vodeps
dune exec ./tools/coq_dune.exe $(BUILD_CONTEXT)/.vfiles.d