Added a new tools/build utility script
This commit is contained in:
parent
a3276ae491
commit
7dc6e6f109
1 changed files with 17 additions and 0 deletions
17
tools/build
Executable file
17
tools/build
Executable 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
|
||||
Loading…
Add table
Reference in a new issue