Fixing for 110.46
[bpt/mlt.git] / build
CommitLineData
c0a3b488
AC
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
f1b55b48
AC
16if [ -d .cm ] ; then
17 rm -rf .cm
18fi
19if [ -d lib/.cm ] ; then
20 rm -rf lib/.cm
21fi
c0a3b488
AC
22
23if ! cat build.sml | $SMLBIN/sml ; then
24 exit 1
25fi
26
27if ! $SMLBIN/ml-build sources.cm Main.main mlt ; then
28 exit 1
29fi
30
31cd lib
32
33if ! cat build.sml | $SMLBIN/sml ; then
34 exit 1
35fi