aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/all/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mathcomp/all/Makefile')
-rw-r--r--mathcomp/all/Makefile8
1 files changed, 0 insertions, 8 deletions
diff --git a/mathcomp/all/Makefile b/mathcomp/all/Makefile
index ead5950..e872352 100644
--- a/mathcomp/all/Makefile
+++ b/mathcomp/all/Makefile
@@ -4,20 +4,12 @@ ifeq "$(COQBIN)" ""
COQBIN=$(dir $(shell which coqtop))/
endif
-
-VERSION_Coq = $(shell $(COQBIN)/coqtop -v | head -1 | sed 's/.*version \([0-9]\.[0-9]\)[^ ]* .*/v\1/')
-
-ifeq "$(VERSION_Coq)" ""
-$(error no version number found for coq)
-endif
-
OLD_MAKEFLAGS:=$(MAKEFLAGS)
MAKEFLAGS+=-B
.DEFAULT_GOAL := all
%:
- sed -i -e "s/^(\*$(VERSION_Coq) *\(.*\) *\*)/\1/" *.v
$(H)[ -e Makefile.coq ] || $(COQBIN)/coq_makefile -f Make -o Makefile.coq
$(H)MAKEFLAGS=$(OLD_MAKEFLAGS) $(MAKE) --no-print-directory \
-f Makefile.coq $*