diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-17 04:34:21 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-17 04:34:21 -0400 |
commit | 7dc6e6f109ae2f48ad6253888f8065f6a0af1e43 (patch) | |
tree | ff5012ae66909470c71649c7ee8c6453e0446d5e | |
parent | a3276ae4912e892897598ec3769fe1d1e1bb8738 (diff) | |
download | fork-ledger-7dc6e6f109ae2f48ad6253888f8065f6a0af1e43.tar.gz fork-ledger-7dc6e6f109ae2f48ad6253888f8065f6a0af1e43.tar.bz2 fork-ledger-7dc6e6f109ae2f48ad6253888f8065f6a0af1e43.zip |
Added a new tools/build utility script
-rwxr-xr-x | tools/build | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/build b/tools/build new file mode 100755 index 00000000..977df74b --- /dev/null +++ b/tools/build @@ -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 |