aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/Makefile
diff options
context:
space:
mode:
authorCyril Cohen2015-07-18 14:38:59 +0200
committerCyril Cohen2015-07-18 16:40:17 +0200
commit40021d41b085276c4c26bc5de7484add920e31f0 (patch)
tree68a2b7f6fc1e2d788e5fcb7deadeea7de5e5c95a /mathcomp/Makefile
parent532de9b68384a114c6534a0736ed024c900447f9 (diff)
update to preserve backward compatibility with v8.4
Diffstat (limited to 'mathcomp/Makefile')
-rw-r--r--mathcomp/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/mathcomp/Makefile b/mathcomp/Makefile
index 11419d3..c5a0a3b 100644
--- a/mathcomp/Makefile
+++ b/mathcomp/Makefile
@@ -17,6 +17,12 @@ else
V=$(BRANCH_coq)
endif
+ifeq "$V" "v8.4"
+COQDEP=../etc/utils/ssrcoqdep
+else
+COQDEP=$(COQBIN)/coqdep
+endif
+
OLD_MAKEFLAGS:=$(MAKEFLAGS)
MAKEFLAGS+=-B
@@ -24,10 +30,10 @@ MAKEFLAGS+=-B
%:
$(H)[ -e Makefile.coq ] || $(call coqmakefile)
- # Override COQDEP to find only the "right" copy of .ml files
+ # Override COQDEP to find only the "right" copy .ml files
$(H)MAKEFLAGS=$(OLD_MAKEFLAGS) $(MAKE) --no-print-directory \
-f Makefile.coq $* \
- COQDEP='$(COQBIN)/coqdep -exclude-dir "plugin" -c'
+ COQDEP='$(COQDEP) -exclude-dir plugin -c'
define coqmakefile
(echo "Generating Makefile.coq for Coq $(V) with COQBIN=$(COQBIN)";\