Added a new tools/build utility script

This commit is contained in:
John Wiegley 2009-02-17 04:34:21 -04:00
parent a3276ae491
commit 7dc6e6f109

17
tools/build Executable file
View file

@ -0,0 +1,17 @@
#!/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 -j3 TAGS check