os2: Do a distclean instead of removing files manually in buildbot script.
3 # This is the script buildbot.libsdl.org uses to cross-compile SDL2 from
4 # x86 Linux to OS/2, using OpenWatcom.
6 # The final zipfile can be unpacked on any machine that supports OpenWatcom
7 # (Windows, Linux, OS/2, etc). Point the compiler at the include directory
8 # and link against the SDL2.lib file. Ship the SDL2.dll with your app.
10 if [ -z "$WATCOM" ]; then
11 echo "This script expects \$WATCOM to be set to the OpenWatcom install dir." 1>&2
12 echo "This is often something like '/usr/local/share/watcom'" 1>&2
16 export PATH="$WATCOM/binl:$PATH"
34 chmod a+r SDL2.lib SDL2.dll
35 mv SDL2.lib SDL2.dll $ZIPDIR/
36 cp -R include $ZIPDIR/
37 zip -9r "$ZIPFILE" $ZIPDIR
39 wmake -f Makefile.os2 distclean
42 echo "All done. Final installable is in $ZIPFILE ...";