summaryrefslogtreecommitdiff
path: root/tools/build
blob: 977df74b8ace573d15cd8d53358c1eb641668960 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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