aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-11-07 16:04:11 +0100
committerGaëtan Gilbert2019-11-19 14:51:30 +0100
commit2f7cf5ae0c22bc802f75cccbd863be2c23630496 (patch)
treef704fcba79ea29a6212d564ec458b9e8ed8c150c /tools
parent69978e0a33d555392fd8a3d7802d28188dd6238b (diff)
coq_makefile: support COQBIN with no ending /
Close #6460
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 abfbd66e28..27f9a0f8c6 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"