summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-17 04:34:21 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-17 04:34:21 -0400
commit7dc6e6f109ae2f48ad6253888f8065f6a0af1e43 (patch)
treeff5012ae66909470c71649c7ee8c6453e0446d5e
parenta3276ae4912e892897598ec3769fe1d1e1bb8738 (diff)
downloadfork-ledger-7dc6e6f109ae2f48ad6253888f8065f6a0af1e43.tar.gz
fork-ledger-7dc6e6f109ae2f48ad6253888f8065f6a0af1e43.tar.bz2
fork-ledger-7dc6e6f109ae2f48ad6253888f8065f6a0af1e43.zip
Added a new tools/build utility script
-rwxr-xr-xtools/build17
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