aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-03-21 19:35:08 +0800
committerasami <asami@FreeBSD.org>1996-03-21 19:35:08 +0800
commit3b1011973db29939d2711d3ff05f19c5a86ecad0 (patch)
tree2195699a9796c3717054f2579aaf37171749a988 /benchmarks
parent1f4c0ffbd264e3365b775544e922d9c2e0940bfb (diff)
downloadfreebsd-ports-graphics-3b1011973db29939d2711d3ff05f19c5a86ecad0.tar.gz
freebsd-ports-graphics-3b1011973db29939d2711d3ff05f19c5a86ecad0.tar.zst
freebsd-ports-graphics-3b1011973db29939d2711d3ff05f19c5a86ecad0.zip
Check NOMANCOMPRESS, and convert a shell for loop into a make .for loop
while I'm here. Requested by: rgrimes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/lmbench/Makefile24
1 files changed, 14 insertions, 10 deletions
diff --git a/benchmarks/lmbench/Makefile b/benchmarks/lmbench/Makefile
index 33ce6200d8b..1a07dc8e9fb 100644
--- a/benchmarks/lmbench/Makefile
+++ b/benchmarks/lmbench/Makefile
@@ -3,7 +3,7 @@
# Date created: 6 May 1995
# Whom: asami
#
-# $Id: Makefile,v 1.3 1995/07/13 01:09:09 asami Exp $
+# $Id: Makefile,v 1.4 1995/11/22 11:36:59 asami Exp $
#
DISTNAME= lmbench-1.0
@@ -27,17 +27,21 @@ do-install:
cp ${FILESDIR}/Makefile ${PREFIX}/lib/lmbench
tar -C ${WRKSRC} -cf - Results bin scripts | \
tar -C ${PREFIX}/lib/lmbench -xf -
- for man in bargraph.1 graph.1; do \
- cp ${WRKSRC}/doc/$$man ${PREFIX}/man/man1; \
- gzip -9nf ${PREFIX}/man/man1/$$man; \
- done
- for man in bw_file_rd.8 bw_mem_cp.8 bw_mem_rd.8 bw_mem_wr.8 \
+.for man in bargraph.1 graph.1
+ cp ${WRKSRC}/doc/${man} ${PREFIX}/man/man1
+.if !defined(NOMANCOMPRESS)
+ gzip -9nf ${PREFIX}/man/man1/${man}
+.endif
+.endfor
+.for man in bw_file_rd.8 bw_mem_cp.8 bw_mem_rd.8 bw_mem_wr.8 \
bw_mmap_rd.8 bw_pipe.8 bw_tcp.8 lat_connect.8 lat_ctx.8 \
lat_fs.8 lat_mem_rd.8 lat_mmap.8 lat_pagefault.8 lat_pipe.8 \
lat_proc.8 lat_rpc.8 lat_syscall.8 lat_tcp.8 lat_udp.8 \
- lmbench.8 lmdd.8 mhz.8; do \
- cp ${WRKSRC}/doc/$$man ${PREFIX}/man/man8; \
- gzip -9nf ${PREFIX}/man/man8/$$man; \
- done
+ lmbench.8 lmdd.8 mhz.8
+ cp ${WRKSRC}/doc/${man} ${PREFIX}/man/man8
+.if !defined(NOMANCOMPRESS)
+ gzip -9nf ${PREFIX}/man/man8/${man}
+.endif
+.endfor
.include <bsd.port.mk>