aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar lmamane <lmamane@85f007b7-540e-0410-9357-904b9bb8a0f7>2007-07-18 14:58:41 +0000
committerGravatar lmamane <lmamane@85f007b7-540e-0410-9357-904b9bb8a0f7>2007-07-18 14:58:41 +0000
commite16dafd4374edce11fe3b2a6778b5a058f44b87f (patch)
tree83f7d58b4f6154ba8b4b657137981e0c01b97cb9
parenta3ff3200aa6a9235f314575a16f8052a94896b2b (diff)
Makefile: needs GNU Make 3.81
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10020 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--INSTALL22
-rw-r--r--Makefile.build4
2 files changed, 23 insertions, 3 deletions
diff --git a/INSTALL b/INSTALL
index da1ec753e..f5e2ca8da 100644
--- a/INSTALL
+++ b/INSTALL
@@ -38,10 +38,26 @@ WHAT DO YOU NEED ?
- Objective Caml version 3.07 or later
(available at http://caml.inria.fr/)
- - GNU Make version 3.80 or later
- (available at http://www.gnu.org/software/make/, but also a
+ - GNU Make version 3.81 or later
+ (
+ available at http://www.gnu.org/software/make/, but also a
standard or optional add-on part to most Unices and Unix
- clones, sometimes under the name "gmake".)
+ clones, sometimes under the name "gmake".
+
+ If a new enough version is not included in your system, nor
+ easily available as an add-on, this should get you a working
+ make:
+
+ #Download it (wget is an example, use your favourite FTP or HTTP client)
+ wget http://ftp.gnu.org/pub/gnu/make/make-3.81.tar.bz2
+ bzip9 -cd make-3.81.tar.bz2 | tar x
+ #If you don't have bzip2, you can download the gzipped version instead.
+ cd make-3.81
+ ./configure --prefix=$(HOME)
+ make install
+
+ Then, make sure that $(HOME)/bin is first in your $PATH.
+ )
- a C compiler
diff --git a/Makefile.build b/Makefile.build
index 3e92347e5..f246e20ed 100644
--- a/Makefile.build
+++ b/Makefile.build
@@ -104,6 +104,10 @@ endef
$(foreach f,$(.FEATURES),$(eval $(call order-only-template,$(f))))
+ifndef ORDER_ONLY_SEP
+$(error This Makefile needs GNU Make 3.81 or later (that is a version that supports the order-only dependency feature without major bugs.))
+endif
+
VO_TOOLS_DEP := $(BESTCOQTOP)
ifdef COQ_XML
VO_TOOLS_DEP += $(COQDOC)