gbuild: Rdb: another workaround for Win32 make command line limit
This breaks in postprocess (services.rdb). Change-Id: I573279e510b5f3dedd7e32059688d21c4c844c47
This commit is contained in:
@@ -11,15 +11,15 @@ gb_Rdb__get_install_target = $(INSTROOT)/$(LIBO_ETC_FOLDER)/services/$(1).rdb
|
|||||||
|
|
||||||
define gb_Rdb__command
|
define gb_Rdb__command
|
||||||
$(call gb_Helper_abbreviate_dirs,\
|
$(call gb_Helper_abbreviate_dirs,\
|
||||||
|
RESPONSEFILE=$(call var2file,$(shell $(call gb_MKTEMP)),70,\
|
||||||
|
<list> \
|
||||||
|
$(foreach component,$(COMPONENTS),\
|
||||||
|
<filename>$(call gb_ComponentTarget_get_target,$(component))</filename>) \
|
||||||
|
</list>) && \
|
||||||
mkdir -p $(dir $@) && \
|
mkdir -p $(dir $@) && \
|
||||||
(\
|
|
||||||
echo '<list>' && \
|
|
||||||
$(foreach component,$(COMPONENTS),echo "<filename>$(call gb_ComponentTarget_get_target,$(component))</filename>" &&) \
|
|
||||||
echo '</list>' \
|
|
||||||
) > $(1).input && \
|
|
||||||
$(call gb_ExternalExecutable_get_command,xsltproc) --nonet -o $(1) \
|
$(call gb_ExternalExecutable_get_command,xsltproc) --nonet -o $(1) \
|
||||||
$(SRCDIR)/solenv/bin/packcomponents.xslt $(1).input && \
|
$(SRCDIR)/solenv/bin/packcomponents.xslt $$RESPONSEFILE && \
|
||||||
rm $(1).input)
|
rm $$RESPONSEFILE)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(call gb_Rdb_get_target,%) :| $(call gb_ExternalExecutable_get_dependencies,xsltproc)
|
$(call gb_Rdb_get_target,%) :| $(call gb_ExternalExecutable_get_dependencies,xsltproc)
|
||||||
|
Reference in New Issue
Block a user