X-Git-Url: http://git.hcoop.net/bpt/mlt.git/blobdiff_plain/c0a3b4882df1afe4a0155654c1102bd0f9729993..dc3b1a7f9c941c2a323e57861871090465fa31f7:/build diff --git a/build b/build index 9d48509..98b1f5c 100755 --- a/build +++ b/build @@ -1,11 +1,12 @@ #!/bin/sh SMLBIN=/usr/local/sml/bin +PLATFORM=x86-linux cd src -if [ -f mlt.x86-linux ] ; then - rm mlt.x86-linux +if [ -f mlt.$PLATFORM ] ; then + rm mlt.$PLATFORM fi if [ -d CM ] ; then rm -rf CM @@ -13,6 +14,12 @@ fi if [ -d lib/CM ] ; then rm -rf lib/CM fi +if [ -d .cm ] ; then + rm -rf .cm +fi +if [ -d lib/.cm ] ; then + rm -rf lib/.cm +fi if ! cat build.sml | $SMLBIN/sml ; then exit 1