1 TRALAY
=$(AUGMENT_LIBRARY_PATH
) $(SOLARBINDIR
)$/tralay
3 XML_LANGS
=$(alllangiso
)
5 ALL_XMLS
=$(foreach,i
,$(XML_FILES
) $(XML_DEST
)$/$i) $(foreach,i
,$(XML_LANGS
) $(foreach,j
,$(XML_FILES
) $(XML_DEST
)$/$i$/$j))
6 XML_DEPS
=$(foreach,i
,$(XML_FILES
) $(MISC
)$/$i.dep
)
8 # Must remove the -j (no duplicate base file names) flag
10 XML_ZIP
= $(PRJNAME
)-layout
12 ALLTAR .SEQUENTIAL
: localize.sdf ALL_XML_DEPS
14 ALL_XML_DEPS
: $(XML_DEPS
)
18 ZIP1LIST
=$(ALL_XMLS
:s@
$(XML_DEST
)/@@
)
19 ZIP1DEPS
=localize.sdf
$(XML_DEPS
)
21 $(MISC
)$/%.xml.dep
: %.xml
22 -$(MKDIR
) "$(XML_DEST)"
24 $(TRALAY
) -m localize.sdf
-o
"$(XML_DEST)" -l
$(XML_LANGS
:f
:t
" -l ") "$<"
27 # Don't want to overwrite filled localize.sdf with empty template
29 $(foreach,i
,$(XML_FILES
) $(TRALAY
) -l en-US
"$i") > $@