2007-02-07 01:40:59 -08:00
|
|
|
#!/bin/sh
|
2007-10-08 07:19:34 -07:00
|
|
|
# $Id$
|
2007-02-07 01:40:59 -08:00
|
|
|
cd `dirname $0`/..
|
|
|
|
set -ex
|
2007-10-08 07:19:34 -07:00
|
|
|
TAGLINE='true: -use_stdlib'
|
|
|
|
./boot/ocamlrun boot/myocamlbuild.boot \
|
|
|
|
-tag-line "$TAG_LINE" \
|
|
|
|
boot/stdlib.cma boot/std_exit.cmo
|
|
|
|
|
|
|
|
boot/ocamlrun boot/myocamlbuild.boot \
|
|
|
|
-tag-line "$TAG_LINE" -log _boot_log1 \
|
2007-02-07 01:40:59 -08:00
|
|
|
ocamlbuild/ocamlbuildlightlib.cma ocamlbuild/ocamlbuildlight.byte
|
2007-10-08 07:19:34 -07:00
|
|
|
|
2007-02-07 01:40:59 -08:00
|
|
|
rm -f _build/myocamlbuild
|
2007-10-08 07:19:34 -07:00
|
|
|
|
2007-02-07 01:40:59 -08:00
|
|
|
boot/ocamlrun boot/myocamlbuild.boot \
|
2007-10-08 07:19:34 -07:00
|
|
|
-just-plugin -install-lib-dir _build/ocamlbuild -byte-plugin
|
|
|
|
|
2007-02-07 01:40:59 -08:00
|
|
|
cp _build/myocamlbuild boot/myocamlbuild
|
2007-10-08 07:19:34 -07:00
|
|
|
|
|
|
|
./boot/ocamlrun boot/myocamlbuild \
|
|
|
|
-tag-line "$TAG_LINE" \
|
|
|
|
$@ -log _boot_log2 boot/camlheader ocamlc
|