Mercurial > mxe-octave
changeset 1979:9e3cc5c56804
log the total disk usage of the temporary build directory after each successful build
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 03 Sep 2011 21:17:41 +0200 |
parents | 718a1a5818ee |
children | 6fe505a37d6d |
files | Makefile |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Sat Sep 03 19:50:12 2011 +0200 +++ b/Makefile Sat Sep 03 21:17:41 2011 +0200 @@ -153,6 +153,7 @@ $(foreach PKG_PATCH,$(sort $(wildcard $(TOP_DIR)/src/$(1)-*.patch)), (cd '$(2)/$($(1)_SUBDIR)' && $(PATCH) -p1 -u) < $(PKG_PATCH)) $$(call $(1)_BUILD,$(2)/$($(1)_SUBDIR),$(TOP_DIR)/src/$(1)-test) + (du -k -d 0 '$(2)' 2>/dev/null || du -k --max-depth 0 '$(2)') | $(SED) -n 's/^\(\S*\).*/du: \1 KiB/p' rm -rfv '$(2)' ,) [ -d '$(PREFIX)/installed' ] || mkdir -p '$(PREFIX)/installed'