diff options
Diffstat (limited to 'postprocess/CustomTarget_registry.mk')
-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') >> $@ \ ) |