#!/bin/sh set -e function darcs_import() { [ -x "`which darcs`" ] || return REPODIR=$1 ORIGIN=$2 if [ ! -d ${REPODIR}/_darcs ]; then darcs get ${ORIGIN} --repo-name=${REPODIR} else (cd ${REPODIR}; darcs pull --all ${ORIGIN}) fi } cd `dirname $0` darcs_import _infrastructure/h8300-boot http://rtime.felk.cvut.cz/repos/h8300-boot darcs_import ../src/pxmc rtime.felk.cvut.cz:/var/repos/pxmc for i in h8eurobot/ h8mirosot/ h8canusb/ linux/ ppc/; do make -C $i default-config done # for i in *; do # [ -d $i -a $i != h8300-boot ] && ln -sf ../../$i h8300-boot/app # done # echo "You can find all your applications in h8300-boot/app"