aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/character/Makefile
diff options
context:
space:
mode:
authorCyril Cohen2015-04-09 13:53:46 +0200
committerCyril Cohen2015-04-09 13:53:46 +0200
commit634ee874ec11a5a90617ca5723228d4de1fe479c (patch)
tree45d212dca85e4982fda447d582f388bb6c695143 /mathcomp/character/Makefile
parent1681e3bac7d35ff6c0e9c5cd2924a8d0edfb1747 (diff)
Using the From X Require Y for v8.4
Diffstat (limited to 'mathcomp/character/Makefile')
-rw-r--r--mathcomp/character/Makefile8
1 files changed, 0 insertions, 8 deletions
diff --git a/mathcomp/character/Makefile b/mathcomp/character/Makefile
index ead5950..e872352 100644
--- a/mathcomp/character/Makefile
+++ b/mathcomp/character/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 $*