diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-06-04 22:04:30 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-06-09 17:05:55 +0200 |
commit | ba1a503feeda6704a1337b9ccc6c0f2288a574de (patch) | |
tree | 4f03387250fd3a5f2d35174fec6737b9129c2c4a /postprocess | |
parent | 9a8c82c66eca101c87d01627522cb5f691d4ad74 (diff) |
postprocess: command line limit work around for Win32 make
Use var2file to write registry input files.
Change-Id: I0edfd94440a47a0c4b21bf2b354d6467016f5f68
Diffstat (limited to 'postprocess')
-rw-r--r-- | postprocess/CustomTarget_registry.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/postprocess/CustomTarget_registry.mk b/postprocess/CustomTarget_registry.mk index b1472512c09e..878be8d91ac7 100644 --- a/postprocess/CustomTarget_registry.mk +++ b/postprocess/CustomTarget_registry.mk @@ -621,8 +621,9 @@ $(call gb_CustomTarget_get_workdir,postprocess/registry)/registry_%.list : $(call gb_CustomTarget_get_workdir,postprocess/registry)/%.list : $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,2) - echo '<list>' $(foreach i,$(postprocess_DEPS_$*), '<dependency file="$i"/>') \ - $(foreach i,$(postprocess_OPTDEPS_$*), '<dependency file="$i" optional="true"/>') \ - $(foreach i,$(postprocess_FILES_$*), '<filename>$(i)</filename>') '</list>' > $@ + mv $(call var2file,$@.tmp,70,<list> $(foreach i,$(postprocess_DEPS_$*), <dependency file='$i'/>) \ + $(foreach i,$(postprocess_OPTDEPS_$*), <dependency file='$i' optional='true'/>) \ + $(foreach i,$(postprocess_FILES_$*), <filename>$(i)</filename>) </list>) \ + $@ # vim: set noet sw=4 ts=4: |