diff options
Diffstat (limited to 'benchmarks/lmbench/Makefile')
-rw-r--r-- | benchmarks/lmbench/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/benchmarks/lmbench/Makefile b/benchmarks/lmbench/Makefile index b85e969fa81a..dec154c3bd51 100644 --- a/benchmarks/lmbench/Makefile +++ b/benchmarks/lmbench/Makefile @@ -47,7 +47,12 @@ retest: build post-extract: ${MKDIR} ${WRKSRC}/SCCS ${TOUCH} -t 199901010000 ${WRKSRC}/SCCS/s.ChangeSet - ${ECHO_CMD} ${DISTNAME} > ${WRKSRC}/src/bk.ver + cd ${WRKSRC}/scripts; ./version > ${WRKSRC}/src/bk.ver + +# Clean up turds from building the library. Some systems just have +# .o, some also end up with .s, so clean up both. +post-build: + @${RM} ${WRKSRC}/bin/*.[os] pre-install: [ -d ${PREFIX}/lib/lmbench ] || ${MKDIR} ${PREFIX}/lib/lmbench |