docs-common Makefile.common,1.66,1.67
Tommy Reynolds (jtr)
fedora-docs-commits at redhat.com
Wed Feb 22 11:00:50 UTC 2006
Author: jtr
Update of /cvs/docs/docs-common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20733
Modified Files:
Makefile.common
Log Message:
Revert prior changes. Document template purpose.
Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- Makefile.common 22 Feb 2006 10:43:47 -0000 1.66
+++ Makefile.common 22 Feb 2006 11:00:42 -0000 1.67
@@ -103,7 +103,7 @@
XMLFOPTS=-f $(FDPDIR)/docs-common/bin/xmlformat-fdp.conf
XMLLINT =xmllint
XML2PO =xml2po
-PO2XML =xml2po
+PO2XML =po2xml
MSGMERGE=msgmerge
#########################################################################
@@ -397,9 +397,11 @@
#########################################################################
#########################################################################
+# 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}, \
More information about the Fedora-docs-commits
mailing list