summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-01-29 09:39:59 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-01-29 09:39:59 +0000
commit8fdfd132857c04bb73e27c95cfd950ceb1e349e5 (patch)
tree1bbe88f40ac5398bca24bb78d418853ba0c1e5a8 /benchmarks
parentUse ${ECHO_CMD} instead of ${ECHO} where you mean the echo command; (diff)
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if make(1) is invoked with the -s option while ECHO_CMD is always set to the echo command. Use command macros where appropriate.
Notes
Notes: svn path=/head/; revision=53948
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/bytebench/Makefile12
-rw-r--r--benchmarks/unixbench/Makefile12
2 files changed, 12 insertions, 12 deletions
diff --git a/benchmarks/bytebench/Makefile b/benchmarks/bytebench/Makefile
index e21e2682a8f7..b6ea556aa8da 100644
--- a/benchmarks/bytebench/Makefile
+++ b/benchmarks/bytebench/Makefile
@@ -17,12 +17,12 @@ do-install:
-${MKDIR} $(PREFIX)/lib/bytebench
for f in Makefile README Run doc pgms results testdir; \
do ${CP} -R $(WRKSRC)/$$f $(PREFIX)/lib/bytebench; done
- ${ECHO} "#!/bin/sh" > $(PREFIX)/bin/bytebench
- ${ECHO} "TMPDIR=\$${TMPDIR-/var/tmp}" >> $(PREFIX)/bin/bytebench
- ${ECHO} "RESULTDIR=/tmp" >> $(PREFIX)/bin/bytebench
- ${ECHO} "export TMPDIR RESULTDIR" >> $(PREFIX)/bin/bytebench
- ${ECHO} "cd $(PREFIX)/lib/bytebench" >> $(PREFIX)/bin/bytebench
- ${ECHO} "exec ./Run \"\$$@\"" >> $(PREFIX)/bin/bytebench
+ ${ECHO_CMD} "#!/bin/sh" > $(PREFIX)/bin/bytebench
+ ${ECHO_CMD} "TMPDIR=\$${TMPDIR-/var/tmp}" >> $(PREFIX)/bin/bytebench
+ ${ECHO_CMD} "RESULTDIR=/tmp" >> $(PREFIX)/bin/bytebench
+ ${ECHO_CMD} "export TMPDIR RESULTDIR" >> $(PREFIX)/bin/bytebench
+ ${ECHO_CMD} "cd $(PREFIX)/lib/bytebench" >> $(PREFIX)/bin/bytebench
+ ${ECHO_CMD} "exec ./Run \"\$$@\"" >> $(PREFIX)/bin/bytebench
${CHMOD} 755 $(PREFIX)/bin/bytebench
${CHMOD} 644 $(PREFIX)/lib/bytebench/Makefile
${CHMOD} 644 $(PREFIX)/lib/bytebench/README
diff --git a/benchmarks/unixbench/Makefile b/benchmarks/unixbench/Makefile
index e21e2682a8f7..b6ea556aa8da 100644
--- a/benchmarks/unixbench/Makefile
+++ b/benchmarks/unixbench/Makefile
@@ -17,12 +17,12 @@ do-install:
-${MKDIR} $(PREFIX)/lib/bytebench
for f in Makefile README Run doc pgms results testdir; \
do ${CP} -R $(WRKSRC)/$$f $(PREFIX)/lib/bytebench; done
- ${ECHO} "#!/bin/sh" > $(PREFIX)/bin/bytebench
- ${ECHO} "TMPDIR=\$${TMPDIR-/var/tmp}" >> $(PREFIX)/bin/bytebench
- ${ECHO} "RESULTDIR=/tmp" >> $(PREFIX)/bin/bytebench
- ${ECHO} "export TMPDIR RESULTDIR" >> $(PREFIX)/bin/bytebench
- ${ECHO} "cd $(PREFIX)/lib/bytebench" >> $(PREFIX)/bin/bytebench
- ${ECHO} "exec ./Run \"\$$@\"" >> $(PREFIX)/bin/bytebench
+ ${ECHO_CMD} "#!/bin/sh" > $(PREFIX)/bin/bytebench
+ ${ECHO_CMD} "TMPDIR=\$${TMPDIR-/var/tmp}" >> $(PREFIX)/bin/bytebench
+ ${ECHO_CMD} "RESULTDIR=/tmp" >> $(PREFIX)/bin/bytebench
+ ${ECHO_CMD} "export TMPDIR RESULTDIR" >> $(PREFIX)/bin/bytebench
+ ${ECHO_CMD} "cd $(PREFIX)/lib/bytebench" >> $(PREFIX)/bin/bytebench
+ ${ECHO_CMD} "exec ./Run \"\$$@\"" >> $(PREFIX)/bin/bytebench
${CHMOD} 755 $(PREFIX)/bin/bytebench
${CHMOD} 644 $(PREFIX)/lib/bytebench/Makefile
${CHMOD} 644 $(PREFIX)/lib/bytebench/README