aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.build
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2018-07-11 01:23:33 +0200
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2018-07-11 01:23:33 +0200
commitd47ddf56bc93ae16280ce8a845a4b004fef52fb8 (patch)
treeb0897440c63071a42f8ccad3869fbef65cc19717 /Makefile.build
parent8fead59914019aac5951ff123f806f69ceb30ccb (diff)
parent475a3a6e48a9d5587be5281e5b2206f7c7c8946b (diff)
Merge PR #7984: Compile `coqpp` inside the `bin/` folder and make it available after installation
Diffstat (limited to 'Makefile.build')
-rw-r--r--Makefile.build8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.build b/Makefile.build
index cd145ae64..2e14dab54 100644
--- a/Makefile.build
+++ b/Makefile.build
@@ -377,7 +377,7 @@ grammar/grammar.cma : $(GRAMCMO)
$(SHOW)'OCAMLC -a $@'
$(HIDE)$(GRAMC) $^ -linkall -a -o $@
-grammar/coqpp: $(COQPPCMO) grammar/coqpp_main.ml
+$(COQPP): $(COQPPCMO) grammar/coqpp_main.ml
$(SHOW)'OCAMLC -a $@'
$(HIDE)$(GRAMC) $^ -linkall -o $@
@@ -764,14 +764,14 @@ plugins/%.cmx: plugins/%.ml
$(SHOW)'OCAMLYACC $<'
$(HIDE)$(OCAMLYACC) --strict "$*.mly"
-%.ml: %.ml4 $(CAMLP5DEPS) grammar/coqpp
+%.ml: %.ml4 $(CAMLP5DEPS) $(COQPP)
$(SHOW)'CAMLP5O $<'
$(HIDE)$(CAMLP5O) -I $(MYCAMLP5LIB) $(PR_O) \
$(CAMLP5DEPS) $(CAMLP5USE) $(CAMLP5COMPAT) -impl $< -o $@
-%.ml: %.mlg grammar/coqpp
+%.ml: %.mlg $(COQPP)
$(SHOW)'COQPP $<'
- $(HIDE)grammar/coqpp $<
+ $(HIDE)$(COQPP) $<
###########################################################################
# Dependencies of ML code