diff options
author | knu <knu@FreeBSD.org> | 2002-01-29 09:39:59 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-01-29 09:39:59 +0000 |
commit | 476fa54a5c6f73ef5e86683a76da131e57c54e53 (patch) | |
tree | 7b692450db0c58c5e0c3dc0af9bc30d903667174 /benchmarks | |
parent | 4da97adde01886935ba4f608070b88f44e9486da (diff) | |
download | FreeBSD-ports-476fa54a5c6f73ef5e86683a76da131e57c54e53.zip FreeBSD-ports-476fa54a5c6f73ef5e86683a76da131e57c54e53.tar.gz |
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.
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/bytebench/Makefile | 12 | ||||
-rw-r--r-- | benchmarks/unixbench/Makefile | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/benchmarks/bytebench/Makefile b/benchmarks/bytebench/Makefile index e21e268..b6ea556 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 e21e268..b6ea556 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 |