diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2011-09-03 19:17:41 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2011-09-03 19:17:41 (GMT) |
commit | d3bff5a8cb4a84c6ec714cef25dfc33776dd9349 (patch) | |
tree | 0bbe2707c081beadd6be8a2359a83c1505ddef1c | |
parent | fe7b3d223159f9dda17f028319b6834bf0cbe63c (diff) | |
download | mxe-d3bff5a8cb4a84c6ec714cef25dfc33776dd9349.zip mxe-d3bff5a8cb4a84c6ec714cef25dfc33776dd9349.tar.gz mxe-d3bff5a8cb4a84c6ec714cef25dfc33776dd9349.tar.bz2 |
log the total disk usage of the temporary build directory after each successful build
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -153,6 +153,7 @@ build-only-$(1): $(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' |