Mercurial > hg > demos > krapula
view build-data.sh @ 40:9cbb03e85597
Update to latest dmlib API changes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 13 Apr 2013 02:16:31 +0300 |
parents | ea2d19de8932 |
children | 554e3f02ba6f |
line wrap: on
line source
#!/bin/sh . ./build.cfg CPWD=`pwd` CPACKED="$CPWD/packed.bin" if test ! -x "$CPACKED"; then make -f Makefile clean make -f Makefile EXEEXT=".bin" BINPATH="$CPWD/" "$CPACKED" fi cd "$CPWD/data" && $CPACKED -c -p "$CPWD/exe/$CPACKFILE" * if test ! -e "$CPWD/$CPACKFILE"; then ln -s "$CPWD/exe/$CPACKFILE" "$CPWD/$CPACKFILE" fi