diff options
| author | Cyril Cohen | 2015-07-18 14:38:59 +0200 |
|---|---|---|
| committer | Cyril Cohen | 2015-07-18 16:40:17 +0200 |
| commit | 40021d41b085276c4c26bc5de7484add920e31f0 (patch) | |
| tree | 68a2b7f6fc1e2d788e5fcb7deadeea7de5e5c95a /mathcomp/Makefile | |
| parent | 532de9b68384a114c6534a0736ed024c900447f9 (diff) | |
update to preserve backward compatibility with v8.4
Diffstat (limited to 'mathcomp/Makefile')
| -rw-r--r-- | mathcomp/Makefile | 10 |
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)";\ |
