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
|
|
|
(cd byterun && make clean) || :
|
|
|
|
(cd asmrun && make clean) || :
|
|
|
|
(cd yacc && make clean) || :
|
2007-02-07 01:40:59 -08:00
|
|
|
rm -rf _build
|
|
|
|
rm -f boot/ocamlrun boot/ocamlrun.exe boot/camlheader \
|
|
|
|
boot/myocamlbuild boot/myocamlbuild.native boot/myocamlbuild.native.exe \
|
|
|
|
myocamlbuild_config.ml config/config.sh config/Makefile \
|
|
|
|
config/s.h config/m.h boot/*.cm* _log _*_log*
|
|
|
|
|
|
|
|
# from partial boot
|
|
|
|
rm -f driver/main.byte driver/optmain.byte lex/main.byte \
|
2007-10-08 07:19:34 -07:00
|
|
|
tools/ocamlmklib.byte camlp4/build/location.ml \
|
|
|
|
camlp4/build/location.mli \
|
|
|
|
tools/myocamlbuild_config.ml camlp4/build/linenum.mli \
|
|
|
|
camlp4/build/linenum.mll \
|
|
|
|
camlp4/build/terminfo.mli camlp4/build/terminfo.ml
|
2007-02-07 01:40:59 -08:00
|
|
|
|
2007-02-12 07:32:52 -08:00
|
|
|
# from ocamlbuild bootstrap
|
2007-10-08 07:19:34 -07:00
|
|
|
rm -f ocamlbuild/_log ocamlbuild/,ocamlbuild.byte.start \
|
|
|
|
ocamlbuild/boot/ocamlbuild ocamlbuild/myocamlbuild_config.ml \
|
|
|
|
ocamlbuild/myocamlbuild_config.mli
|
|
|
|
rm -rf ocamlbuild/_build ocamlbuild/_start
|
2007-02-12 07:32:52 -08:00
|
|
|
|
2007-02-07 01:40:59 -08:00
|
|
|
# from the old build system
|
2007-02-12 07:32:52 -08:00
|
|
|
rm -f camlp4/build/camlp4_config.ml camlp4/**/*.cm*
|