From 7dc6e6f109ae2f48ad6253888f8065f6a0af1e43 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 17 Feb 2009 04:34:21 -0400 Subject: Added a new tools/build utility script --- tools/build | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 tools/build 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 -- cgit v1.2.3