summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-02-11 11:20:22 +0000
committerrillig <rillig@pkgsrc.org>2006-02-11 11:20:22 +0000
commitee063d152469c833a8d3b999eae87867402a8814 (patch)
tree42de85f989d1db4dce89af74dcefd9480c13222d /benchmarks
parente48f4cf942f7b2e2945ff2224c0c2d58addb75d7 (diff)
downloadpkgsrc-ee063d152469c833a8d3b999eae87867402a8814.tar.gz
The "benchmark" and "results" targets both depend on "build".
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/bonnie++/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmarks/bonnie++/Makefile b/benchmarks/bonnie++/Makefile
index ed7ccab299d..892711ae709 100644
--- a/benchmarks/bonnie++/Makefile
+++ b/benchmarks/bonnie++/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2006/02/11 11:15:45 rillig Exp $
+# $NetBSD: Makefile,v 1.18 2006/02/11 11:20:22 rillig Exp $
#
DISTNAME= bonnie++-1.03a
@@ -21,11 +21,11 @@ REPLACE_PERL+= bon_csv2txt.in bon_csv2html.in
INSTALLATION_DIRS= bin man/man1 man/man8 sbin
.PHONY: benchmark
-benchmark:
+benchmark: build
cd ${WRKSRC} && ./bonnie++ -u ${ROOT_USER}:${ROOT_GROUP} | ${TEE} bonnie.out
.PHONY: results
-results:
+results: build
@${MKDIR} /tmp/benches/`domainname`
-@${CP} ${WRKSRC:Q}/bonnie.out /tmp/benches/`domainname`/bonnie++.`uname`-`uname -m`-`uname -r`.`hostname`