aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorbarras2008-09-02 15:05:23 +0000
committerbarras2008-09-02 15:05:23 +0000
commit3e314a8811fbc94d46247da9969432d94ed5eff0 (patch)
tree5ae94245bf1204b61fc15b08ed322a4649bce33f /Makefile.common
parent19aae56bb6cb1245c17851d87ac3368e03e5311c (diff)
added Makefile target: validate (to recheck all .vo in a row)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11347 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index b068e72fbc..e323e2d9bc 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -810,6 +810,12 @@ CONTRIBVO:= $(OMEGAVO) $(ROMEGAVO) $(MICROMEGAVO) $(RINGVO) $(FIELDVO) \
ALLVO:= $(INITVO) $(THEORIESVO) $(CONTRIBVO)
VFILES:= $(ALLVO:.vo=.v)
+# convert a (stdlib) filename into a module name:
+# remove .vo, replace theories and contrib by Coq, and replace slashes by dots
+vo_to_mod = $(subst /,.,$(patsubst theories/%,Coq.%,$(patsubst contrib/%,Coq.%,$(1:.vo=))))
+
+ALLMODS:=$(call vo_to_mod,$(ALLVO))
+
LIBFILES:=$(THEORIESVO) $(CONTRIBVO)
LIBFILESLIGHT:=$(THEORIESLIGHTVO)
@@ -871,7 +877,7 @@ VO_TARGETS:=logic arith bool narith zarith qarith lists strings sets \
DOC_TARGETS:=doc doc-html doc-ps doc-pdf stdlib refman tutorial faq rectutorial refman-quick refman-nodep stdlib-nodep
STAGE3_TARGETS:=world install coqide coqide-files coq coqlib \
coqlight states pcoq-files check init theories theories-light contrib \
- $(DOC_TARGETS) $(VO_TARGETS)
+ $(DOC_TARGETS) $(VO_TARGETS) validate
# For emacs: