summaryrefslogtreecommitdiff
path: root/postprocess
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2010-03-11 17:51:37 +0100
committerIvo Hinkelmann <ihi@openoffice.org>2010-03-11 17:51:37 +0100
commitf9dcd6804f7a15de47239a61ea149cbed4baa62d (patch)
treef565fc982b65a888e10a43d9cbf5024fd19bd7bf /postprocess
parentbccbeb8b5bbd89a0d6957da2e35686a07fc2b161 (diff)
masterfix DEV300: #i10000# #i110041# --with-lang=ALL: build failure at postprocess
Notes
split repo tag: postprocess_ooo/DEV300_m75
Diffstat (limited to 'postprocess')
-rw-r--r--postprocess/packregistry/makefile.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/postprocess/packregistry/makefile.mk b/postprocess/packregistry/makefile.mk
index 054f98233389..ec7c5c0a3e2d 100644
--- a/postprocess/packregistry/makefile.mk
+++ b/postprocess/packregistry/makefile.mk
@@ -499,6 +499,9 @@ $(MISC)/lang/Langpack-%.xcd .ERRREMOVE :
$(MISC)/lang/fcfg_langpack_{$(alllangiso)}.xcd : $(SOLARPCKDIR)/$$(@:b).zip
+# It can happen that localized $(SOLARPCKDIR)/fcfg_langpack_*.zip contain
+# zero-sized org/openoffice/TypeDectection/Filter.xcu; filter them out in the
+# find shell command below (see issue 110041):
$(MISC)/lang/fcfg_langpack_%.xcd .ERRREMOVE :
$(MKDIRHIER) $(@:d)
rm -rf $(MISC)/$(@:b).unzip
@@ -506,7 +509,7 @@ $(MISC)/lang/fcfg_langpack_%.xcd .ERRREMOVE :
cd $(MISC)/$(@:b).unzip && unzip $(SOLARPCKDIR)/$(@:b).zip
- $(RM) $(MISC)/$(@:b).list
echo '<list>' $(foreach,i,$(shell cd $(MISC) && \
- find $(@:b).unzip -name \*.xcu -print) \
+ find $(@:b).unzip -name \*.xcu -size +0c -print) \
'<filename>$i</filename>') '</list>' > $(MISC)/$(@:b).list
$(XSLTPROC) --nonet -o $@ $(SOLARENV)/bin/packregistry.xslt \
$(MISC)/$(@:b).list