docs-common/bin fdp-functions,1.10,1.11

Tommy Reynolds (jtr) fedora-docs-commits at redhat.com
Wed Feb 15 07:04:47 UTC 2006


Author: jtr

Update of /cvs/docs/docs-common/bin
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18623/bin

Modified Files:
	fdp-functions 
Log Message:
Reorganize the CVS layout to fully embrace I18N translator support.
Many, many changes here.  Refer to "example-tutorial/" for a model.

1)  Only one rpm-info.xml file, and that is in the top-level dir.
2)  XML file names are now language independant (para.xml, not
    para-en.xml).
3)  The "Makefile" in the document directory has been completely
    rewritten.  Now, a ${PRI_LANG} variable identifies the original
    language for the document.  Additional language translations are
    listed in the ${OTHERS} macro.  The ${XMLEXTRAFILES-${LANG}}
    variable is no more; instead an XMLFILES_template must be filled
    out to enumerate the necessary XML files.
4)  Translated XML files are automatically generated from .POT and
    .PO files located in a "po/" directory.
5)  Translated XML files should NOT be archived in CVS, since they
    are now generated files.
6)  Many new virtual targets have been added to "Makefile.common", 
    such as "make xml-de", "make po-de", and the like.  Consult the
    "Makefile.common".




Index: fdp-functions
===================================================================
RCS file: /cvs/docs/docs-common/bin/fdp-functions,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- fdp-functions	5 Feb 2006 00:23:49 -0000	1.10
+++ fdp-functions	15 Feb 2006 07:04:39 -0000	1.11
@@ -19,7 +19,7 @@
 FDPBINDIR="${FDPDIR}/docs-common/bin"
 FDPPKGDIR="${FDPDIR}/docs-common/packaging"
 PRI_LANG=${PRI_LANG:-"en"}
-RPMINFO=${RPMINFO:-"${PRI_LANG}/rpm-info-${PRI_LANG}.xml"}
+RPMINFO=${RPMINFO:-"rpm-info.xml"}
 XSLTPROC=${XSLTPROC:-xsltproc}
 XMLFORMAT=${XMLFORMAT:-"${FDPBINDIR}/xmlformat"}
 XMLFOPTS=${XMLFOPTS:-"-f ${FDPBINDIR}/xmlformat-fdp.conf"}




More information about the Fedora-docs-commits mailing list