summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.common8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.common b/Makefile.common
index 557b51f..4bc4801 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -104,6 +104,7 @@ XMLFOPTS=-f $(FDPDIR)/docs-common/bin/xmlformat-fdp.conf
XMLLINT =xmllint
XML2PO =xml2po
MSGMERGE=msgmerge
+PO2XML =po2xml
LN =ln
#########################################################################
@@ -411,9 +412,10 @@ pot:: po/${DOCBASE}.pot
define XML_template
$(patsubst ${PRI_LANG}/%,${1}/%,${2}):: ${2} po/${1}.po
mkdir -p ${1}
- ${XML2PO} -k -p po/${1}.po ${2} >$$@
-endef
-
+# ${XML2PO} -k -p po/${1}.po ${2} >$$@
+ ${PO2XML} ${2} po/${1}.po >$$@
+ endef
+
$(foreach L,${OTHERS}, \
$(foreach F,${XMLFILES-${PRI_LANG}}, \
$(eval $(call XML_template,${L},${F}))))