aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2013-03-08 22:15:00 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2013-03-08 22:15:00 +0000
commite8eb6b5cd648669c59375286dbd6aa180da46115 (patch)
tree2950ee93fcbcb5d4713e31111f949d952a637dfd
parent8fe4beee0430001da2da7dde791d5595429ccd59 (diff)
downloadsrc-e8eb6b5cd648669c59375286dbd6aa180da46115.tar.gz
src-e8eb6b5cd648669c59375286dbd6aa180da46115.zip
Always report elapsed time
Notes
Notes: svn path=/projects/bmake/; revision=248077
-rw-r--r--pkgs/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/Makefile b/pkgs/Makefile
index c6b0ed2e5996..b605cae0ef39 100644
--- a/pkgs/Makefile
+++ b/pkgs/Makefile
@@ -131,16 +131,18 @@ dirdeps: ${_begin} .WAIT
$t: dirdeps
.endfor
+elapsed_time= seconds=`expr ${now_utc} - ${start_utc}`
+
count-makefiles: .NOMETA
- @echo "${TIME_STAMP} Makefiles read: total=${.MAKE.MAKEFILES:[#]} depend=${.MAKE.MAKEFILES:M*depend*:[#]} seconds=`expr ${now_utc} - ${start_utc}`"
+ @echo "${TIME_STAMP} Makefiles read: total=${.MAKE.MAKEFILES:[#]} depend=${.MAKE.MAKEFILES:M*depend*:[#]} ${elapsed_time}"
.END: _build_finish
_build_finish: .NOMETA
- @echo "${TIME_STAMP} Finished ${.TARGETS}"
+ @echo "${TIME_STAMP} Finished ${.TARGETS} ${elapsed_time}"
.ERROR: _build_failed
_build_failed: .NOMETA
- @echo "${TIME_STAMP} Failed ${.TARGETS}"
+ @echo "${TIME_STAMP} Failed ${.TARGETS} ${elapsed_time}"
.endif # !empty(DIRDEPS)