summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2013-04-29 16:36:29 -0500
committerJohn Wiegley <johnw@newartisans.com>2013-04-29 16:36:29 -0500
commit59550b7f66c31592160749c5177074f63d19fa9d (patch)
tree0b28be9ab403e67d042f74ae9d1d76d885486b18 /tools
parent385cbd25b9905b16a4c7723bb4e5a5813e84aab0 (diff)
parent6bef247759acbdc026624e78d0fd78297bc79501 (diff)
downloadfork-ledger-59550b7f66c31592160749c5177074f63d19fa9d.tar.gz
fork-ledger-59550b7f66c31592160749c5177074f63d19fa9d.tar.bz2
fork-ledger-59550b7f66c31592160749c5177074f63d19fa9d.zip
Merge branch 'next'
Diffstat (limited to 'tools')
-rwxr-xr-xtools/build.sh18
-rwxr-xr-xtools/gendocs.sh2
2 files changed, 12 insertions, 8 deletions
diff --git a/tools/build.sh b/tools/build.sh
index 185fe791..ba563e34 100755
--- a/tools/build.sh
+++ b/tools/build.sh
@@ -3,10 +3,14 @@
flavor=$1
shift 1
-time ( \
- cd ~/src/ledger ; \
- PATH=/usr/local/bin:/opt/local/bin:$PATH \
- nice -n 20 ./acprep $flavor --debug --python --doxygen make "$@" && \
- PATH=/usr/local/bin:/opt/local/bin:$PATH \
- nice -n 20 ./acprep $flavor --debug --python --doxygen check "$@" \
-) \ No newline at end of file
+JOBS=-j$(sysctl -n hw.activecpu)
+OPTIONS="$flavor --debug --python --ninja --doxygen $JOBS"
+OPTIONS="$OPTIONS --prefix /usr/local/Cellar/ledger/HEAD"
+
+time ( \
+ cd ~/src/ledger ; \
+ PATH=/usr/local/bin:/opt/local/bin:$PATH \
+ nice -n 20 ./acprep $OPTIONS make $JOBS "$@" && \
+ PATH=/usr/local/bin:/opt/local/bin:$PATH \
+ nice -n 20 ./acprep $OPTIONS check $JOBS "$@" \
+)
diff --git a/tools/gendocs.sh b/tools/gendocs.sh
index 55933b13..9126a406 100755
--- a/tools/gendocs.sh
+++ b/tools/gendocs.sh
@@ -2,4 +2,4 @@
echo "===================================== Making Info..."
makeinfo ledger3.texi
echo "===================================== Making PDF..."
-texi2pdf ledger3.texi
+texi2pdf --quiet --batch ledger3.texi