Various improvements made while working on relwiki
[bpt/mlt.git] / build
... / ...
CommitLineData
1#!/bin/sh
2
3SMLBIN=/usr/local/sml/bin
4
5cd src
6
7if [ -f mlt.x86-linux ] ; then
8 rm mlt.x86-linux
9fi
10if [ -d CM ] ; then
11 rm -rf CM
12fi
13if [ -d lib/CM ] ; then
14 rm -rf lib/CM
15fi
16
17if ! cat build.sml | $SMLBIN/sml ; then
18 exit 1
19fi
20
21if ! $SMLBIN/ml-build sources.cm Main.main mlt ; then
22 exit 1
23fi
24
25cd lib
26
27if ! cat build.sml | $SMLBIN/sml ; then
28 exit 1
29fi