build: Oops, set VERSION.
[mes.git] / build-aux / build.sh.in
index 461a6509f4bb1da72c3dff06076797453636db37..7c28938883cd249954843a23c7884bc6918f27e9 100755 (executable)
@@ -23,6 +23,7 @@ srcdir="@srcdir@"
 abs_top_srcdir="@abs_top_srcdir@"
 abs_top_builddir="@abs_top_builddir@"
 prefix=${prefix-@prefix@}
+VERSION=${VERSION-@VERSION@}
 
 . ${srcdest}build-aux/config.sh
 . ${srcdest}build-aux/trace.sh
@@ -37,17 +38,15 @@ fi
 
 if [ -n "$CC" ]; then
     sh ${srcdest}build-aux/build-cc.sh
-    cp src/mes.gcc-out src/mes
 fi
 
 if [ -n "$CC32" ]; then
     sh ${srcdest}build-aux/build-cc32.sh
-    cp src/mes.mes-gcc-out src/mes
 fi
 
 if [ -n "$TCC" ]; then
     CC32=$TCC sh ${srcdest}build-aux/build-cc32.sh
-    cp src/mes.mes-tcc-out src/mes
 fi
 
 sh ${srcdest}build-aux/build-mes.sh
+sh ${srcdest}build-aux/build-x86_64-mes.sh