aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2003-09-13 15:04:24 +0000
committerherbelin2003-09-13 15:04:24 +0000
commit72a7fd50cba4ba45de9ec60a8fea6da5531ba7b8 (patch)
treea1ce744b7a3e4e1fbe8142df48a1ba085f1b540d
parent2a4ea1915c391ba39b99e4fb17d8354278eec212 (diff)
Indirection pour coqlib8 pour que la cible newtheories/%.v soit choisie
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@4397 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 7fac3b0a63..9b4e5a36f9 100644
--- a/Makefile
+++ b/Makefile
@@ -335,7 +335,7 @@ oldworld: world7
world: world7
-world8: coqbinaries coqlib8-source coqlib8 tools coqide
+world8: coqbinaries translation coqlib8 tools coqide
world7: coqbinaries coqlib7 tools coqide
@@ -879,7 +879,7 @@ FULLEMACSLIB=$(COQINSTALLPREFIX)$(EMACSLIB)
install: install7
-install8: install-$(BEST) install-binaries install-library install-manpages
+install8: install-$(BEST) install-binaries install-library8 install-manpages
install7: install-$(BEST) install-binaries install-library7 install-manpages
@@ -915,7 +915,9 @@ LIBFILESLIGHT=$(INITVO) $(THEORIESLIGHTVO)
NEWLIBFILES=$(NEWINITVO) $(NEWTHEORIESVO) $(NEWCONTRIBVO)
NEWLIBFILESLIGHT=$(NEWINITVO) $(NEWTHEORIESLIGHTVO)
-install-library:
+install-library: install-library7
+
+install-library8:
$(MKDIR) $(FULLCOQLIB)
for f in $(LIBFILES) $(NEWLIBFILES); do \
$(MKDIR) $(FULLCOQLIB)/`dirname $$f`; \
@@ -929,7 +931,7 @@ install-library:
cp $(IDEFILES) $(FULLIDELIB)
install-library7:
- $(MAKE) NEWLIBFILES= install-library
+ $(MAKE) NEWLIBFILES= install-library8
install-library-light:
$(MKDIR) $(FULLCOQLIB)
@@ -1294,8 +1296,6 @@ devel:
############################################################################
# 1. Translate the old syntax files and build new syntax theories hierarchy
-coqlib8-source: translation movenew
-
translation:: $(BESTCOQTOP)
@$(MAKE) SYNTAX="-translate -no-strict" coqlib7
@$(MAKE) movenew
@@ -1310,7 +1310,8 @@ movenew::
done
# 2. Compile theories
-coqlib8:: newinit newtheories newcontrib
+coqlib8::
+ $(MAKE) newinit newtheories newcontrib
NEWINITVO=$(INITVO:%.vo=new%.vo)
NEWTHEORIESVO=$(THEORIESVO:%.vo=new%.vo)