fdo#58156 use WITH_LANG_LIST instead of WITH_LANG

Change-Id: Ie87469d7553d1dcad49348c42d3cca99a43d709c
This commit is contained in:
Andras Timar
2012-12-15 10:37:52 +01:00
parent 4bee4ca987
commit 1cfc20a7bc

View File

@@ -236,7 +236,7 @@ $(COMPONENT_DESCRIPTIONS_PACKDEP) : $(DESCRIPTION)
$(DESCRIPTION_SRC): description.xml
+-$(RM) $@
.IF "$(WITH_LANG)" != ""
$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(mktmp $(foreach,lang,$(subst,en-US, $(WITH_LANG)) $(SRCDIR)/translations/source/$(lang)/$(PRJNAME)$/$(PATH_IN_MODULE).po)) -l all
$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(mktmp $(foreach,lang,$(subst,en-US, $(WITH_LANG_LIST)) $(SRCDIR)/translations/source/$(lang)/$(PRJNAME)$/$(PATH_IN_MODULE).po)) -l all
$(SED) "s/#VERSION#/$(EXTENSION_VERSION)/" < $@ > $@.new
mv $@.new $@
@$(COPY) $(@:d)/description-*.txt $(EXTENSIONDIR)