Module of module types for OrderedType,ComparableType,Printable,Serializable,Discrete...
[ocaml.git] / build / distclean.sh
blob92ced8862783330142946f5e2260b638f5b5a1ea
1 #!/bin/sh
2 # $Id$
3 cd `dirname $0`/..
4 set -ex
5 (cd byterun && make clean) || :
6 (cd asmrun && make clean) || :
7 (cd yacc && make clean) || :
8 rm -rf _build
9 rm -f boot/ocamlrun boot/ocamlrun.exe boot/camlheader \
10 boot/myocamlbuild boot/myocamlbuild.native boot/myocamlbuild.native.exe \
11 myocamlbuild_config.ml config/config.sh config/Makefile \
12 boot/ocamlyacc tools/cvt_emit.bak tools/*.bak \
13 config/s.h config/m.h boot/*.cm* _log _*_log*
15 # from partial boot
16 rm -f driver/main.byte driver/optmain.byte lex/main.byte \
17 tools/ocamlmklib.byte camlp4/build/location.ml \
18 camlp4/build/location.mli \
19 tools/myocamlbuild_config.ml camlp4/build/linenum.mli \
20 camlp4/build/linenum.mll \
21 camlp4/build/terminfo.mli camlp4/build/terminfo.ml
23 # from ocamlbuild bootstrap
24 rm -f ocamlbuild/_log ocamlbuild/,ocamlbuild.byte.start \
25 ocamlbuild/boot/ocamlbuild ocamlbuild/myocamlbuild_config.ml \
26 ocamlbuild/myocamlbuild_config.mli
27 rm -rf ocamlbuild/_build ocamlbuild/_start
29 # from the old build system
30 rm -f camlp4/build/camlp4_config.ml camlp4/**/*.cm*