Commit ea0c1793 authored by fpottier's avatar fpottier
Browse files

Updated Makefile to avoid the dependency install: all.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/menhir@348 0f8b5475-4b4e-0410-85a8-ee3154a6bfe7
parent 3e302de1
...@@ -8,14 +8,16 @@ If you wish to install via ocamlfind, make sure that ocamlfind is in ...@@ -8,14 +8,16 @@ If you wish to install via ocamlfind, make sure that ocamlfind is in
your PATH. (Remember that prefixing a command with sudo affects its your PATH. (Remember that prefixing a command with sudo affects its
PATH.) PATH.)
Run the following command: Run the following commands:
make PREFIX=/usr/local all
make PREFIX=/usr/local install make PREFIX=/usr/local install
If your machine does not have the native code Objective Caml compiler If your machine does not have the native code Objective Caml compiler
(ocamlopt), but does have the bytecode compiler (ocamlc), then instead (ocamlopt), but does have the bytecode compiler (ocamlc), then instead
of the above command, use: of the above command, use:
make PREFIX=/usr/local TARGET=byte all
make PREFIX=/usr/local TARGET=byte install make PREFIX=/usr/local TARGET=byte install
The value of the PREFIX variable can be changed to control where The value of the PREFIX variable can be changed to control where
......
...@@ -90,7 +90,7 @@ all: ...@@ -90,7 +90,7 @@ all:
# The directory where things have been built (by make all, above). # The directory where things have been built (by make all, above).
BUILDDIR := src/_stage2 BUILDDIR := src/_stage2
install: all install:
mkdir -p $(bindir) mkdir -p $(bindir)
mkdir -p $(libdir) mkdir -p $(libdir)
mkdir -p $(docdir) mkdir -p $(docdir)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment