summaryrefslogtreecommitdiff
path: root/postprocess
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-12-10 16:51:22 +0100
committerStephan Bergmann <sbergman@redhat.com>2021-12-14 07:37:41 +0100
commit28ff78c950e3480077145f15e7cff36c375a689c (patch)
tree3d17595e85de20f169f91b61c8d9ec1ef8399c9e /postprocess
parentdaa8e90fc919dd8150c819e342b3f96739d94ca2 (diff)
Build services_constructors.list from target component files
...rather than from source component files, so that <https://gerrit.libreoffice.org/c/core/+/126560> "Allow for conditional parts of component files" (which adds further processing to the translation from source to target component files) will also affect the contents of CustomTarget_postprocess/components's services_constructors.list Change-Id: Ie5ef42b91b09f5be0d8d512093a6b7e60aee5b50 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126644 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'postprocess')
-rw-r--r--postprocess/CustomTarget_components.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/postprocess/CustomTarget_components.mk b/postprocess/CustomTarget_components.mk
index 3c202ed9988d..934fa8f4564f 100644
--- a/postprocess/CustomTarget_components.mk
+++ b/postprocess/CustomTarget_components.mk
@@ -26,11 +26,11 @@ endef
$(postprocess_WORKDIR)/services_componentfiles.list: \
$(call gb_Rdb_get_target,services) \
$(call gb_Rdb_get_target,ure/services) \
- $(foreach comp,$(gb_ComponentTarget__ALLCOMPONENTS),$(call gb_ComponentTarget_get_source,$(comp))) \
+ $(foreach comp,$(gb_ComponentTarget__ALLCOMPONENTS),$(call gb_ComponentTarget_get_target,$(comp))) \
| $(postprocess_WORKDIR)/.dir
$(call gb_Output_announce,$(subst $(BUILDDIR)/,,$@),$(true),GEN,2)
TEMPFILE=$(call gb_var2file,$(shell $(gb_MKTEMP)),1, \
- $(foreach comp,$(sort $(gb_ComponentTarget__ALLCOMPONENTS)),$(call gb_ComponentTarget_get_source,$(comp))$(gb_NEWLINE))) && \
+ $(foreach comp,$(sort $(gb_ComponentTarget__ALLCOMPONENTS)),$(call gb_ComponentTarget_get_target,$(comp))$(gb_NEWLINE))) && \
mv $$TEMPFILE $@
$(postprocess_WORKDIR)/services_constructors.list: \