summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-31 15:03:01 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-31 15:03:01 -0400
commitd1d5fc75511aeae760b43bd40aa7abfdbb7e6fa3 (patch)
tree73dc9fdfc08ffbb384ffd33ed8fdb5e297c8a1f3
parente1ce0245465f6cf6d5790c269892ccabcdcd6d1f (diff)
downloadledger-d1d5fc75511aeae760b43bd40aa7abfdbb7e6fa3.tar.gz
ledger-d1d5fc75511aeae760b43bd40aa7abfdbb7e6fa3.tar.bz2
ledger-d1d5fc75511aeae760b43bd40aa7abfdbb7e6fa3.zip
Make the 'benchmark' target depend on 'release'.
-rw-r--r--Makefile.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 1499c958..db0c7b55 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -541,13 +541,14 @@ copy-sources:
(cd $(STAGING); sudo git clean -x -d -f)
release: copy-sources
- (cd $(STAGING); ./acprep --release --boost xgcc40 --build -j3)
+ (cd $(STAGING); \
+ nice -n 20 ./acprep --release --opt --boost xgcc40 --build -j3)
release-distcheck: copy-sources
- (cd $(STAGING); ./acprep --release --boost xgcc40 --build -j3 distcheck)
+ (cd $(STAGING); \
+ nice -n 20 ./acprep --release --boost xgcc40 --build -j3 distcheck)
-benchmark: copy-sources
- (cd $(STAGING); ./acprep --release --opt --build -j3 all)
+benchmark: release
PATH=$(PATH):$(srcdir)/tools \
$(srcdir)/tools/speedcmp 50 $(STAGING)/ledger