Blob Blame Raw
#!/bin/bash

set -e

echo "build executables for maemo"

cd ..
BUILD_DIR="maemo"
ARGS="$*"


function build() {
  echo "copy config $BUILD_DIR/$1 -> config.h"
  cp "$BUILD_DIR/$1" "config.h"
  shift
  local TARGET="$BUILD_DIR/$1"
  shift
  echo ./build.sh "$@" -target "$TARGET"
  ./build.sh "$@" -target "$TARGET"
}

build config.h.dock   coolkbd.dock   "$@"
build config.h.bottom coolkbd.bottom "$@"
build config.h.top    coolkbd.top    "$@"