Mercurial > hg > demos > krapula
changeset 12:4bfeef9f361a
Rename data PACK / blob building script.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 29 Sep 2012 06:46:15 +0300 |
parents | a712382dcf6a |
children | fcca32ea1ca8 |
files | build-data.sh pakkaa.sh |
diffstat | 2 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build-data.sh Sat Sep 29 06:46:15 2012 +0300 @@ -0,0 +1,10 @@ +#!/bin/sh +CPWD=`pwd` +PACKED="$CPWD/packed.bin" + +if test ! -x "$PACKED"; then + make -f Makefile clean + make -f Makefile EXEEXT=".bin" BINPATH="$CPWD" "$PACKED" +fi + +cd "$CPWD/data" && $PACKED -c -p "$CPWD/exe/orvellys.dat" *
--- a/pakkaa.sh Sat Sep 29 06:45:54 2012 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -#!/bin/sh -CPWD=`pwd` -PACKED="$CPWD/packed.bin" - -if test ! -x "$PACKED"; then - make -f Makefile clean - make -f Makefile EXEEXT=".bin" BINPATH="$CPWD" "$PACKED" -fi - -cd "$CPWD/data" && $PACKED -c -p "$CPWD/exe/orvellys.dat" *