aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEnrico Tassi2019-11-20 08:39:23 +0100
committerEnrico Tassi2019-11-20 08:39:23 +0100
commitf37db0ff9b59720bb80433dff2995862550aec50 (patch)
tree48f68bbbea5f061a03a28698bf07258c9f6a7a15 /tools
parent5d10145531b2920f5e7b9d47bc15b5de06783d97 (diff)
parent2f7cf5ae0c22bc802f75cccbd863be2c23630496 (diff)
Merge PR #11068: coq_makefile: support COQBIN with no ending /
Reviewed-by: gares
Diffstat (limited to 'tools')
-rw-r--r--tools/CoqMakefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/CoqMakefile.in b/tools/CoqMakefile.in
index ea93b369ee..fa186af13a 100644
--- a/tools/CoqMakefile.in
+++ b/tools/CoqMakefile.in
@@ -78,6 +78,11 @@ else
STDTIME?=command time -f $(TIMEFMT)
endif
+ifneq (,$(COQBIN))
+# add an ending /
+COQBIN:=$(COQBIN)/
+endif
+
# Coq binaries
COQC ?= "$(COQBIN)coqc"
COQTOP ?= "$(COQBIN)coqtop"