1 # TODO: move to solenv/inc
2 # copies: sw/uiconfig/layout svx/uiconfig/layout
6 XML_LANGS
=$(alllangiso
)
8 ALL_XMLS
=$(foreach,i
,$(XML_FILES
) $(XML_DEST
)/$i) $(foreach,i
,$(XML_LANGS
) $(foreach,j
,$(XML_FILES
) $(XML_DEST
)/$i/$j))
10 # Must remove the -j (no duplicate base file names) flag
12 XML_ZIP
= $(PRJNAME
)-layout
16 $(XML_ZIP
): $(ALL_XMLS
)
20 ZIP1LIST
=$(ALL_XMLS
:s@
$(XML_DEST
)/@@
)
22 $(foreach,i
,$(XML_LANGS
) $(XML_DEST
)/$i/%.xml
): %.xml
24 @echo
$(foreach,i
,$(XML_LANGS
) $(XML_DEST
)/$i/%.xml
): %.xml
25 $(TRALAY
) -m localize.sdf
-o
$(XML_DEST
) -l
$(XML_LANGS
:f
:t
" -l ") $<
27 $(XML_DEST
)/%.xml
: %.xml
31 # Don't want to overwrite filled localize.sdf with empty template
33 $(foreach,i
,$(XML_FILES
) $(TRALAY
) -l en-US
$i) > $@