diff options
author | Tony Theodore <tonyt@logyst.com> | 2014-01-14 02:52:22 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2014-01-14 02:52:22 (GMT) |
commit | d808d7f8c3797f23eb18ad235d3d6f28ea5cc341 (patch) | |
tree | 17212d634c180c6ce4953ed1935b11cad953a564 | |
parent | 897321906cb3aabca3606602aa1329ef87bc307c (diff) | |
parent | 109be23726df4fde5b5ef35fcf946d4753c167e6 (diff) | |
download | mxe-d808d7f8c3797f23eb18ad235d3d6f28ea5cc341.zip mxe-d808d7f8c3797f23eb18ad235d3d6f28ea5cc341.tar.gz mxe-d808d7f8c3797f23eb18ad235d3d6f28ea5cc341.tar.bz2 |
Merge pull request #299 from TimothyGu/verbose
Add MXE_VERBOSE variable
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -212,7 +212,11 @@ $(PREFIX)/$(3)/installed/$(1): $(TOP_DIR)/src/$(1).mk \ echo; \ echo 'Download failed or wrong checksum of package $(1)!'; \ echo '------------------------------------------------------------'; \ +ifndef MXE_VERBOSE tail -n 10 '$(LOG_DIR)/$(1)-download' | $(SED) -n '/./p'; \ +else + $(SED) -n '/./p' '$(LOG_DIR)/$(1)-download'; \ +endif echo '------------------------------------------------------------'; \ echo '[log] $(LOG_DIR)/$(1)-download'; \ echo; \ @@ -234,7 +238,11 @@ $(PREFIX)/$(3)/installed/$(1): $(TOP_DIR)/src/$(1).mk \ echo; \ echo 'Failed to build package $(1)!'; \ echo '------------------------------------------------------------'; \ +ifndef MXE_VERBOSE tail -n 10 '$(LOG_DIR)/$(1)' | $(SED) -n '/./p'; \ +else + $(SED) -n '/./p' '$(LOG_DIR)/$(1)'; \ +endif echo '------------------------------------------------------------'; \ echo '[log] $(LOG_DIR)/$(1)'; \ echo; \ |