ledger/tools/build
2009-02-17 05:24:28 -04:00

17 lines
257 B
Bash
Executable file

#!/bin/sh
set -e
SRCDIR=$(pwd)
if [ -d ~/Products/ledger ]; then
cd ~/Products/ledger
fi
if [ ! -f Makefile -o \
$SRCDIR/acprep -nt Makefile -o \
$SRCDIR/tools/myacprep -nt Makefile ]; then
(cd $SRCDIR && tools/myacprep)
fi
make "$@"