summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Identify original shell using the ${REALSHELL} variable.Tommy Reynolds2006-03-031-0/+1
|
* Added shell script to convert a .POT/.PO file from the obsolete 'en'Tommy Reynolds2006-03-021-0/+9
| | | | locale to the proper 'en_US' locale.
* Since we now use .POT and .PO files to hold the translated text,Tommy Reynolds2006-03-021-5/+1
| | | | | | non-primary language XML should no longer be committed to CVS. Commonly, our ${PRI_LANG} is a Romance language so we can just prettyprint *every* XML file we see.
* wrong argument sequence :(Yuan Yijun2006-02-221-1/+1
|
* use xml2po instead of po2xmlYuan Yijun2006-02-221-1/+1
|
* Make sure docs-common stuff is being built on webtest. Only SRPM/spec are ↵Paul W. Frields2006-02-181-0/+1
| | | | needed, other targets will simply fail.
* 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".
* Cover desc and do normalizationPaul W. Frields2006-02-141-2/+2
|
* Don't mess with rpm-info element contents as muchPaul W. Frields2006-02-131-1/+1
|
* Add acronym to handlingPaul W. Frields2006-02-051-0/+3
|
* 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.
* Pushd/popd stuff was ugly, it's true; this should be more portable.Paul W. Frields2006-02-041-1/+1
| | | | | | | Without it, package buliding output is harder to read/debug due to piling on of *many* relative directory parentage constructs, especially during XSLT operations, since fdpsh is called a whole bunch.
* Use read prompt function to eliminate backspace bobblesPaul W. Frields2006-02-041-2/+1
|
* Make the clog target a little smarter and more helpfulPaul W. Frields2006-02-041-3/+37
|
* Figure out absolute pathnames in a portable manner.Tommy Reynolds2006-02-041-4/+7
|
* This seems to make packaging work again... probably needs checking for ↵Paul W. Frields2006-02-041-3/+5
| | | | kludginess
* You're right, not happy at all... get rid of that, plus a spelling correcitonPaul W. Frields2006-02-041-2/+2
|
* A bit of message cleanup, make sure 'Considering' message doesn't get sourcedPaul W. Frields2006-02-031-3/+3
|
* Shell script to generate one-time migration into per-language files.Tommy Reynolds2006-02-031-0/+40
|
* 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.
* Don't prettyprint deleted files.Tommy Reynolds2006-02-031-3/+5
|
* 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
* Adding the trans quick start guide, another active doc being translated.Karsten Wade2006-02-021-0/+1
|
* Sorting the list by alpha.Karsten Wade2006-02-021-7/+7
|
* Allow *any* modern shell.Tommy Reynolds2006-01-291-4/+4
|
* No presumed shell on contributors' machines but bashPaul W. Frields2006-01-281-1/+1
|
* Append commands to the log file "/tmp/fdpsh.log" if, and only if, itTommy Reynolds2006-01-271-0/+5
| | | | already exists.
* Jigger indexterm formatting for readabilityPaul W. Frields2006-01-211-1/+1
|
* These additional languages should be fine to reformat as wellPaul W. Frields2006-01-211-1/+1
|
* 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...
* Heh, maybe we mean month instead of minute here...Paul W. Frields2006-01-211-1/+1
|
* 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.
* First cut a integrating the RPM packaging stuff with theTommy Reynolds2006-01-191-3/+18
| | | | | | | | | | | | | | "docs-common/Makefile.common" infrastructure. While this appears to work *somewhat* with the "example-tutorial", it is certainly not ready for prime time yet. TODO: 1) Verify that all generated RPM's have the necessary files inside. 2) Mangle the "../docs-common" strings in Makefiles, *.xml, to reference the "/usr/share/fedora/doc" ${FDPDIR} so that we don't need to bugger the RPM checksums of the files by altering them at RPM install time. 3) Buy a beer all round.
* Moved from "packaging/" to "bin/" directory.Tommy Reynolds2006-01-191-0/+14
|
* Simplify testing through re-ordering.Tommy Reynolds2006-01-191-6/+4
|
* Provide working aliasPaul W. Frields2006-01-191-0/+4
|
* With the "-v" switch, output a note if we find a manifest file.Tommy Reynolds2006-01-181-0/+2
|
* Use better heuristics to include non-conforming figs/ filenames.Tommy Reynolds2006-01-181-5/+5
| | | | | | | | Now, files are rejected as not matching the language selection if they have the pattern "*-??.*" or "*-??_??.*" -- in other words, if the last dashed comonpent of the filename is either a two-letter language code or a two-letter language code with a two-letter country code.
* 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.
* Automatically create a backup, similar to "mv -b", if we replaceTommy Reynolds2006-01-171-2/+5
| | | | a file.
* Conditionally move source file to target if, and only if, theirTommy Reynolds2006-01-171-0/+32
| | | | | content differs. This can help avoid unnecessary rebuilds when working with derived files.
* clog target and XSL stylesheet should be able to figure out if this is the ↵Paul W. Frields2006-01-161-0/+1
| | | | first package for a document revision
* Need to mark the table's entry out separately, because it is not possible to ↵Karsten Wade2006-01-161-0/+5
| | | | predict what is needed. The parser looks to the existence of any whitespace after the <entry> as an indication of inline v. block markup, and there is no way to tell with xmlformat. It is better to leave this alone and to the discretion of the author to solve. The problem to solve next is, what happens when xmlformat encounters content on the same line as <entry>. I'll test later.
* Make OTHERNAME setting scriptablePaul W. Frields2006-01-161-2/+4
|
* No need for this section in CVS, duhPaul W. Frields2006-01-161-4/+0
|
* 1) Make compatible with Bourne shell, bash, korn shell, and Z-Shell.Tommy Reynolds2006-01-161-7/+13
| | | | | | | 2) Redirections now work correctly in all modes. So do pipes, (), and the like. 3) Set ${SHELL} environment parameter so that subshells inherit the ". fdp-functions" environment.
* Fedora Documention Project Shell, a wrapper for the "fdp-functions"Tommy Reynolds2006-01-161-0/+45
| | | | functionality that works very much like the original BASH shell.
* Use xmlformat-fdp.conf options properly in functionsPaul W. Frields2006-01-152-3/+4
|
* Add function to insert colophon entryPaul W. Frields2006-01-151-0/+45
|
* Trivial change, should not affect OMF adverselyPaul W. Frields2006-01-151-2/+2
|