aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMartin Bodin2020-05-26 16:44:05 +0100
committerEnrico Tassi2020-05-27 21:53:25 +0200
commit4bdfeb3c6d3a90fe2980a6d9063bb00136c53eeb (patch)
treecb1070f44e52a101c68f6f33179fcb95812e6610 /tools
parent9514c7dbf5a2691603a916d11ab38a34d600e501 (diff)
Adding changelog.
Diffstat (limited to 'tools')
-rw-r--r--tools/CoqMakefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/CoqMakefile.in b/tools/CoqMakefile.in
index 8b0a37ee3c..e2ed2db728 100644
--- a/tools/CoqMakefile.in
+++ b/tools/CoqMakefile.in
@@ -153,7 +153,8 @@ endif
# Substitution of the path by appending $(DESTDIR) if needed.
# The variable $(COQMF_WINDRIVE) can be needed for Cygwin environments.
-destination_path = $(if $(DESTDIR),$(DESTDIR)/$(if $(COQMF_WINDRIVE),$(subst $(COQMF_WINDRIVE),/,$(1)),$(1)),$(1))
+windrive_path = $(if $(COQMF_WINDRIVE),$(subst $(COQMF_WINDRIVE),/,$(1)),$(1))
+destination_path = $(if $(DESTDIR),$(DESTDIR)/$(call windrive_path,$(1)),$(1))
# Installation paths of libraries and documentation.
COQLIBINSTALL ?= $(call destination_path,$(COQLIB)/user-contrib)