diff options
author | Peter Foley <pefoley2@verizon.net> | 2013-03-24 19:32:18 -0400 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2013-03-25 14:45:37 -0400 |
commit | 5ebb1a593d193f57722e38d5dc0fea4c93207d41 (patch) | |
tree | 61483a3e6ffcf4c44101e61228a963f3e0adfe3a /postprocess | |
parent | a81f44c707c4df56e7b999fa3b656d7fa4543d1b (diff) |
cleanup gbuild output
Change-Id: I53e1ccda41688975ea180f44bfd507ce4ca39bf2
Diffstat (limited to 'postprocess')
-rw-r--r-- | postprocess/CustomTarget_registry.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/postprocess/CustomTarget_registry.mk b/postprocess/CustomTarget_registry.mk index 40fd0d4d7647..f7f69585f071 100644 --- a/postprocess/CustomTarget_registry.mk +++ b/postprocess/CustomTarget_registry.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CustomTarget_CustomTarget,postprocess/registry)) # Variables # +postprocess_UNZIP := unzip $(if $(VERBOSE)$(verbose),,-q) + postprocess_XCS := registry/schema/org/openoffice postprocess_XCU := registry/data/org/openoffice postprocess_MOD := registry/spool @@ -575,7 +577,7 @@ $(call gb_CustomTarget_get_workdir,postprocess/registry)/fcfg_langpack_%.list : $(call gb_Helper_abbreviate_dirs, \ cd $(call gb_CustomTarget_get_workdir,postprocess/registry)/fcfg_langpack_$*.unzip \ && rm -rf * \ - && unzip $< \ + && $(postprocess_UNZIP) $< \ && cd .. \ && echo '<list>' > $@ \ && ( find fcfg_langpack_$*.unzip -name *.xcu -size +0c -print0 | xargs -n1 -0 -I '{}' echo '<filename>{}</filename>\n') >> $@ \ @@ -597,7 +599,7 @@ $(call gb_CustomTarget_get_workdir,postprocess/registry)/registry_%.list : $(call gb_Helper_abbreviate_dirs, \ cd $(call gb_CustomTarget_get_workdir,postprocess/registry)/registry_$*.unzip \ && rm -rf * \ - && unzip $(call gb_Zip_get_target,registry_$*) \ + && $(postprocess_UNZIP) $(call gb_Zip_get_target,registry_$*) \ && cd .. \ && (find registry_$*.unzip -name *.xcu -print0 | xargs -n1 -0 -I '{}' echo '<filename>{}</filename>\n') >> $@ \ ) @@ -608,7 +610,7 @@ ifeq (DBCONNECTIVITY,$(filter DBCONNECTIVITY,$(BUILD_TYPE))) $(foreach driver,$(postprocess_DRIVERS), \ && cd $(call gb_CustomTarget_get_workdir,postprocess/registry)/$(driver)_$*.unzip \ && rm -rf * \ - && unzip $(call gb_Zip_get_target,$(driver)_$*) \ + && $(postprocess_UNZIP) $(call gb_Zip_get_target,$(driver)_$*) \ && cd .. \ && (find $(driver)_$*.unzip -name *.xcu -print0 | xargs -n1 -0 -I '{}' echo '<filename>{}</filename>\n') >> $@ \ ) \ @@ -619,7 +621,7 @@ ifeq ($(ENABLE_ONLINE_UPDATE),TRUE) $(call gb_Helper_abbreviate_dirs, \ cd $(call gb_CustomTarget_get_workdir,postprocess/registry)/updchk_$*.unzip \ && rm -rf * \ - && unzip $(call gb_Zip_get_target,updchk_$*) \ + && $(postprocess_UNZIP) $(call gb_Zip_get_target,updchk_$*) \ && cd .. \ && (find updchk_$*.unzip -name *.xcu -print0 | xargs -n1 -0 -I '{}' echo '<filename>{}</filename>\n') >> $@ \ ) |