diff options
author | Tommy Reynolds <Tommy.Reynolds@MegaCoder.com> | 2006-02-22 11:00:42 +0000 |
---|---|---|
committer | Tommy Reynolds <Tommy.Reynolds@MegaCoder.com> | 2006-02-22 11:00:42 +0000 |
commit | bbf626f1f7a3a479704cb9af567582f88a7e849e (patch) | |
tree | 09fb5d3c43e35b3dc60de447f043fb8147a333e3 /Makefile.common | |
parent | 614dfcb284a6a23bf4cd1baede0f89be92ef1ce8 (diff) | |
download | fedora-doc-utils-bbf626f1f7a3a479704cb9af567582f88a7e849e.tar.gz fedora-doc-utils-bbf626f1f7a3a479704cb9af567582f88a7e849e.tar.xz fedora-doc-utils-bbf626f1f7a3a479704cb9af567582f88a7e849e.zip |
Revert prior changes. Document template purpose.
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common index 9f5597c..b857da7 100644 --- a/Makefile.common +++ b/Makefile.common @@ -103,7 +103,7 @@ XMLFORMAT=xmlformat XMLFOPTS=-f $(FDPDIR)/docs-common/bin/xmlformat-fdp.conf XMLLINT =xmllint XML2PO =xml2po -PO2XML =xml2po +PO2XML =po2xml MSGMERGE=msgmerge ######################################################################### @@ -397,9 +397,11 @@ $(foreach L,${OTHERS},$(eval $(call DIR_template,${L}))) ######################################################################### ######################################################################### +# Define a template to generate the locale-specific XML files given the +# 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} -p po/${1}.po ${2} >$$@ + ${PO2XML} ${2} po/${1}.po >$$@ endef $(foreach L,${OTHERS}, \ |