summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-06-04 22:11:23 +0200
committerMichael Stahl <mstahl@redhat.com>2014-06-09 17:05:54 +0200
commitf517362fb6df839e9d1f828b286e1709cbbbe235 (patch)
tree966161fb3b97eb5bb1fd331cbdd7a7d5bdd6991c /solenv
parente85ddc17698168046d452df35cacfeac3932eedb (diff)
gbuild: Rdb: another workaround for Win32 make command line limit
This breaks in postprocess (services.rdb). Change-Id: I573279e510b5f3dedd7e32059688d21c4c844c47
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/Rdb.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/solenv/gbuild/Rdb.mk b/solenv/gbuild/Rdb.mk
index 1bbc8735b32f..e93519155d3e 100644
--- a/solenv/gbuild/Rdb.mk
+++ b/solenv/gbuild/Rdb.mk
@@ -11,15 +11,15 @@ gb_Rdb__get_install_target = $(INSTROOT)/$(LIBO_ETC_FOLDER)/services/$(1).rdb
define gb_Rdb__command
$(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 $@) && \
- (\
- 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) \
- $(SRCDIR)/solenv/bin/packcomponents.xslt $(1).input && \
- rm $(1).input)
+ $(SRCDIR)/solenv/bin/packcomponents.xslt $$RESPONSEFILE && \
+ rm $$RESPONSEFILE)
endef
$(call gb_Rdb_get_target,%) :| $(call gb_ExternalExecutable_get_dependencies,xsltproc)