diff options
| author | Florent Hivert | 2016-11-17 01:33:36 +0100 |
|---|---|---|
| committer | Florent Hivert | 2016-11-17 01:33:36 +0100 |
| commit | 84cc11db01159b17a8dcf4d02dbe0549067d228f (patch) | |
| tree | 964ee247bbf305022235217e716578a37be0bf62 /mathcomp/ssreflect/Makefile.coq-makefile | |
| parent | 5daf14d44b9cd22c6b51b2b23b4eebe5f3aee79f (diff) | |
| parent | 23e57fb47874331c5feaace883513b7abecdff28 (diff) | |
Merge remote-tracking branch 'upstream/master' into fixdoc
Diffstat (limited to 'mathcomp/ssreflect/Makefile.coq-makefile')
| -rw-r--r-- | mathcomp/ssreflect/Makefile.coq-makefile | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/mathcomp/ssreflect/Makefile.coq-makefile b/mathcomp/ssreflect/Makefile.coq-makefile index 52beace..e4f12ad 100644 --- a/mathcomp/ssreflect/Makefile.coq-makefile +++ b/mathcomp/ssreflect/Makefile.coq-makefile @@ -1,10 +1,22 @@ define coqmakefile (echo "Generating Makefile.coq for Coq $(V) with COQBIN=$(COQBIN)";\ if [ "$$OS" = "Windows_NT" ]; then LN=cp; else LN="ln -sf"; fi;\ - $$LN $(1)/plugin/$(V)/ssreflect.mllib .;\ - $$LN $(1)/plugin/$(V)/ssrmatching.mli .;\ - $$LN $(1)/plugin/$(V)/ssrmatching.ml4 .;\ + MLLIB=ssreflect_plugin.mlpack;\ + EXTRA=;\ + case $(V) in\ + v8.5*|v8.4*)\ + $$LN $(1)/plugin/$(V)/ssrmatching.mli .;\ + $$LN $(1)/plugin/$(V)/ssrmatching.ml4 .;\ + $$LN $(1)/plugin/$(V)/ssrmatching.v .;\ + $$LN $(1)/plugin/$(V)/ssreflect_plugin.mllib .;\ + EXTRA="ssrmatching.mli ssrmatching.ml4 ssrmatching.v";\ + MLLIB=ssreflect_plugin.mllib;\ + ;;\ + *)\ + $$LN $(1)/plugin/$(V)/ssreflect_plugin.mlpack .;\ + ;;\ + esac;\ $$LN $(1)/plugin/$(V)/ssreflect.ml4 .;\ - $(COQBIN)coq_makefile -f Make -o Makefile.coq) + $(COQBIN)coq_makefile -f Make $$MLLIB $$EXTRA -o Makefile.coq) endef |
