summaryrefslogtreecommitdiffstats
path: root/bin/fdp-functions
Commit message (Collapse)AuthorAgeFilesLines
* Point common fdpsh functions to new location of rpm-info document.Paul W. Frields2006-08-051-1/+1
|
* wrong argument sequence :(Yuan Yijun2006-02-221-1/+1
|
* use xml2po instead of po2xmlYuan Yijun2006-02-221-1/+1
|
* Reorganize the CVS layout to fully embrace I18N translator support.Tommy Reynolds2006-02-151-1/+1
| | | | | | | | | | | | | | | | | | | | | 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".
* Use primary language RPM-INFO stuff. Return the string "TBD" insteadTommy Reynolds2006-02-051-3/+3
| | | | of the more anonymous "XXX" if we can't figure out a revision.
* You're right, not happy at all... get rid of that, plus a spelling correcitonPaul W. Frields2006-02-041-2/+2
|
* 1) Make "${FDPDIR}" into an absolute pathname to allow the fdpshTommy Reynolds2006-02-031-3/+17
| | | | | | | | | | cd(1) command to be useful. 2) Added the fdpsh command "prettyprint foo.xml" as a wrapper to the current xmlformat tool. I used a different name to avoid overloading the current name. To much trouble to parse another "-f /path/to/config" argument ;-) 3) Borked the definition of ${RPMINFO} until we get the RPM packaging fixed again.
* Added shell command "apply_po foo-en.xml" has a shortcut to theTommy Reynolds2006-02-031-0/+12
| | | | | | | | actual "po2xml foo-en.xml foo-en.po" file. Use it like this: fdpsh> make po fdpsh> kbable foo-en.po fdpsh> apply_po foo-en.xml >foo-xx.xml
* De-bungle the date(1) command within the for-loop to actually useTommy Reynolds2006-01-211-1/+1
| | | | the date from the command line. Oh, well, it was late at night...
* Added "validate_rpm_info" function to "fdpsh" to validate theTommy Reynolds2006-01-201-0/+4
| | | | | "rpm-info.xml" file. Errors are displayed, or an "OK" token if the validation succeeds.
* Provide working aliasPaul W. Frields2006-01-191-0/+4
|
* Added helper function 'iso2date' to convert YYYY-MM-DD into ctime(3)Tommy Reynolds2006-01-181-15/+53
| | | | | | format, as neded by the <revision@date> attributes. Also added more error checking and usage hints.
* Use xmlformat-fdp.conf options properly in functionsPaul W. Frields2006-01-151-1/+3
|
* Draw out some functions that might be useful elsewherePaul W. Frields2006-01-151-0/+38