From 40021d41b085276c4c26bc5de7484add920e31f0 Mon Sep 17 00:00:00 2001 From: Cyril Cohen Date: Sat, 18 Jul 2015 14:38:59 +0200 Subject: update to preserve backward compatibility with v8.4 --- mathcomp/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'mathcomp/Makefile') 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)";\ -- cgit v1.2.3