summaryrefslogtreecommitdiff
path: root/postprocess
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2023-12-17 17:37:51 +0100
committerAndras Timar <andras.timar@collabora.com>2023-12-21 07:03:28 +0100
commita2a9850217b3f711440283131fdfc58a9a254919 (patch)
treee2b3c5370a6f069e99ea51b4d42b9e93d758a634 /postprocess
parent8555c3180c367d684af48b7ecb7ceb333fcd0962 (diff)
get rid of warnings when reportbuilder is not configured for build
In the LOK case for example, where there is no reportbuilder, there were a lot of bogus warning messages at startup, confimgr complained that there were translations for non existing configuration nodes, all belonged to reportbuilder. Change-Id: I7f9cef3206bddd9e333b97ee966fb950fbb352d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160887 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161048 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'postprocess')
-rw-r--r--postprocess/CustomTarget_registry.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/postprocess/CustomTarget_registry.mk b/postprocess/CustomTarget_registry.mk
index 1e2e473e0b4d..c2f823369262 100644
--- a/postprocess/CustomTarget_registry.mk
+++ b/postprocess/CustomTarget_registry.mk
@@ -590,6 +590,21 @@ $(call gb_XcdTarget_get_target,main.xcd) \
)
$(call gb_Trace_EndRange,main,XCD)
+$(call gb_XcdTarget_get_target,registry_%.xcd) : \
+ | $(call gb_ExternalExecutable_get_dependencies,xsltproc)
+ $(call gb_Output_announce,registry_$*,$(true),XCD,3)
+ $(call gb_Trace_StartRange,registry_$*,XCD)
+ $(call gb_Helper_abbreviate_dirs, \
+ mkdir -p $(dir $@) && \
+ $(call gb_ExternalExecutable_get_command,xsltproc) --nonet \
+ $(SRCDIR)/solenv/bin/packregistry.xslt $< \
+ $(if $(filter REPORTBUILDER,$(BUILD_TYPE)),, | \
+ $(call gb_ExternalExecutable_get_command,xsltproc) --nonet \
+ $(SRCDIR)/solenv/bin/removereportbuilder.xslt - ) \
+ > $@ \
+ )
+ $(call gb_Trace_EndRange,$*,XCD)
+
$(call gb_XcdTarget_get_target,%.xcd) : \
| $(call gb_ExternalExecutable_get_dependencies,xsltproc)
$(call gb_Output_announce,$*,$(true),XCD,3)