summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2006-02-23 01:45:36 +0000
committerTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2006-02-23 01:45:36 +0000
commit9b7822fcf152eca03b3d0fc5c6bc9f68e380f740 (patch)
tree67cd79d88c44ebf24239e48f04734a76069ce208
parent6ca2bfe2401e7e8ddd0c1da004a7c420df74819f (diff)
downloadfedora-doc-utils-9b7822fcf152eca03b3d0fc5c6bc9f68e380f740.tar.gz
fedora-doc-utils-9b7822fcf152eca03b3d0fc5c6bc9f68e380f740.tar.xz
fedora-doc-utils-9b7822fcf152eca03b3d0fc5c6bc9f68e380f740.zip
Use xml2po(1) for all XML=>PO=>XML conversions; drop dependancy on
the buggy po2xml(1) from the kdesdk. This allows translators to free up potentially 82Mbyte or so of disk space as a bonus.
-rw-r--r--Makefile.common3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common
index 8e1d617..65b0ecf 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -103,7 +103,6 @@ XMLFORMAT=xmlformat
XMLFOPTS=-f $(FDPDIR)/docs-common/bin/xmlformat-fdp.conf
XMLLINT =xmllint
XML2PO =xml2po
-PO2XML =po2xml
MSGMERGE=msgmerge
#########################################################################
@@ -401,7 +400,7 @@ $(foreach L,${OTHERS},$(eval $(call DIR_template,${L})))
# original ${PRI_LANG} file and an updated po/${LANG}.po file.
define XML_template
$(patsubst ${PRI_LANG}/%,${1}/%,${2}):: ${2} po/${1}.po ${1}
- ${PO2XML} ${2} po/${1}.po >$$@
+ ${XML2PO} -p po/${1}.po ${2} >$$@
endef
$(foreach L,${OTHERS}, \