diff options
| author | Enrico Tassi | 2016-06-16 11:53:53 +0200 |
|---|---|---|
| committer | Enrico Tassi | 2016-06-16 11:53:53 +0200 |
| commit | 0e36c8f0247cbd814cd82592e2722b052283b495 (patch) | |
| tree | 598cf0d111abb91f6fc590869bfcf93823ed38cc /mathcomp/ssreflect/Makefile.coq-makefile | |
| parent | 9848926628885883160c460277d6042bb43362c0 (diff) | |
Port build system to trunk (ssrmatching merged in Coq)
Diffstat (limited to 'mathcomp/ssreflect/Makefile.coq-makefile')
| -rw-r--r-- | mathcomp/ssreflect/Makefile.coq-makefile | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/mathcomp/ssreflect/Makefile.coq-makefile b/mathcomp/ssreflect/Makefile.coq-makefile index 52beace..d815286 100644 --- a/mathcomp/ssreflect/Makefile.coq-makefile +++ b/mathcomp/ssreflect/Makefile.coq-makefile @@ -1,9 +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 .;\ + case $(V) in\ + v8.5*|v8.4*)\ + $$LN $(1)/plugin/$(V)/ssrmatching.mli .;\ + $$LN $(1)/plugin/$(V)/ssrmatching.ml4 .;\ + echo ssrmatching.mli >> Make;\ + echo ssrmatching.ml4 >> Make;\ + $$LN $(1)/plugin/$(V)/ssrmatching.v .;\ + echo ssrmatching.v >> Make;\ + $$LN $(1)/plugin/$(V)/ssreflect_plugin.mllib .;\ + echo ssreflect_plugin.mllib >> Make;\ + ;;\ + *)\ + $$LN $(1)/plugin/$(V)/ssreflect_plugin.mlpack .;\ + echo ssreflect_plugin.mlpack >> Make;\ + ;;\ + esac;\ $$LN $(1)/plugin/$(V)/ssreflect.ml4 .;\ $(COQBIN)coq_makefile -f Make -o Makefile.coq) endef |
