summaryrefslogtreecommitdiffstats
path: root/Makefile.common
Commit message (Collapse)AuthorAgeFilesLines
...
* Add tag to targets list, and make it PHONYPaul W. Frields2006-08-051-1/+2
|
* Fix OMF building... this we will probably keep, since no one shouldPaul W. Frields2006-08-051-2/+2
| | | | have to write these on their own.
* This change temporarily breaks building but will improve translationPaul W. Frields2006-08-051-3/+29
| | | | | | | | overall. The rpm-info.xml should no longer contain any translations, and should now be stored in the original language directory. It will still be used to generate fdp-info.xml, and we will probably also strip RPM information out of the DTD since we intend to use a standard specfile for this purpose from here on out.
* Need to make sure that tags are valid! Plus, showvars is useful herePaul W. Frields2006-08-041-1/+10
| | | | for troubleshooting.
* Make tagging routine dependent on whether we have a specfile or not.Paul W. Frields2006-08-041-1/+29
| | | | | If no specfile exists, we pick up a simpler tag using the existing variables and fdpsh functions.
* Oops, don't forget to make that dependent on whether the SPECFILE exists.Paul W. Frields2006-08-031-2/+2
|
* Better package building definitions (stolen from Extras)Paul W. Frields2006-08-031-8/+29
|
* Only need this cleaning once as well...Paul W. Frields2006-08-021-3/+3
|
* We only need to clean this once, not for every PO requirement. :-)Paul W. Frields2006-08-021-3/+3
|
* Allow legalnotice hacks in a more make-friendly way when necessary, since ↵Paul W. Frields2006-07-151-2/+6
| | | | relnotes may not be the only document in need.
* Added some rules of the road.Tommy Reynolds2006-07-151-0/+32
|
* Need these processing options for xmlto since it uses w3m. ThisPaul W. Frields2006-07-141-1/+1
| | | | should make the rendering purdy now.
* Remember to clean out old message cruft from xml2poPaul W. Frields2006-07-141-0/+4
|
* Make sure the local document entities are built, since they our xml2po stuff ↵Paul W. Frields2006-07-031-0/+1
| | | | parses them to make the POT. Otherwise you get a big mess in the PO/POT files.
* Whoops, it would be better if we make the validation work too. :-)Paul W. Frields2006-06-261-1/+1
|
* Aha! Finally found the errant parameter. The doc-entities.ent filesPaul W. Frields2006-06-261-1/+1
| | | | | weren't being removed, since the command was evaluating as 'rm -f ${LANG}/${LANG}/${DOC_ENTITIES}.xml'. (Extra directory in the path.)
* Allow document local fdp-entities.ent files to build directly from thePaul W. Frields2006-06-261-2/+5
| | | | | | XML files in docs-common/common/entities/ . This means we can get rid of all those confusing extra .ent files and do away with symlinking. Tommy gives this approach a thumbs-up.
* Allow a document to build even if it doesn't have anyTommy Reynolds2006-06-161-3/+3
| | | | ${DOC_ENTITIES} file to call its own.
* Correcting dependency ordering slightly to fix some build, er, uniquenessPaul W. Frields2006-06-111-7/+7
|
* Don't bother to generate an intermediate *.xml.in symbolic link.Tommy Reynolds2006-05-181-6/+1
| | | | Don't bother to clean up what we haven't created ;-)
* Removed the po/${DOC_ENTITIES}.pot rules.Tommy Reynolds2006-04-271-25/+30
| | | | | | | | | | Now, all translatable strings should be in the "po/${DOC_BASE}.pot" file. If you have a "po/${DOC_ENTITIES}.pot" file, DELETE IT YOURSELF because we will just ignore it from now on ;-) Replaced the XML2PO "-k" (keep entities) switch with the "-e" (expand all entities) because "-k" was the default behavior. Maybe we'll like this better.
* Back out silly attempt to retain entities while serializing document. ↵Paul W. Frields2006-04-241-6/+2
| | | | Instead, we should and will parse these entities normally when the POT file is created, so they can be translated like other text.
* Use fedora-doc-common location for all RPM building... it's just a good idea ↵Paul W. Frields2006-04-111-1/+1
| | | | for now.
* This parsing appears to be necessary to treat entities properly whether they ↵Paul W. Frields2006-04-111-2/+6
| | | | are used in XInclude snippets or the main document. I am not sure yet whether or not we are doing something monumentally twisted here, but the fact that the tools support this kind of usage makes me feel better. A little better, at least.
* This fix makes sure that any RPM build happens off the newest doc revision, ↵Paul W. Frields2006-04-111-3/+1
| | | | and notates it properly in the rpm-info.xml file. This might be a little hand-holdy but I like the idea that we encourage proper procedure when possible.
* Might as well use proper locales for other stuff as well; this doesn't seem ↵Paul W. Frields2006-04-111-4/+4
| | | | to break anything and could help
* Add khelp target and associated locale targetsPaul W. Frields2006-04-111-0/+27
|
* Compute, pass, and use the absolute path to the callout images.Tommy Reynolds2006-03-131-2/+3
|
* Separate PDF generation into two steps: first create the XML-FO formyum-FC-4Tommy Reynolds2006-03-121-18/+28
| | | | | | | | | | | of the XML, and then render the XML-FO into PDF. Added "fo", "fo-all", "fo-${LANG}" targets to do the XML-FO conversion, and then have the "pdf-${LANG}" targets use the "${LANG}/${DOCBASE}.fo" file as their only prerequisite. I'm using xmllint to reformat the .FO files for now; otherwise it's all one very, very long line and all the diagnostics complain about that one line ;-)
* Delete created "foo.xml.in" symlink as soon as we're through with it.Tommy Reynolds2006-03-081-2/+7
| | | | Also removed all the zillion "rm *.in" commands from "make clean" ;-)
* Remove irritating, distracting comment.FC-5-GOLD-for-isoTommy Reynolds2006-03-071-1/+0
|
* Each Makefile command is run using a different shell, so no needTommy Reynolds2006-03-071-3/+1
| | | | | | to clean up after oneself. Thanks for helping out with this.
* This should complete Tommy's fix, WORKSFORME now.Paul W. Frields2006-03-061-2/+2
|
* My bad. FC4 xml2po does NOT have the "-l ${LANG}" switch, so I'veTommy Reynolds2006-03-061-1/+4
| | | | | | | taken it out. Tranlations will have the bogus 'lang="po/${LANG}"' attribute on their top-level element. I'll complete the fix later this evening. Sorry.
* Added "-l ${LANG}" switch to ${XML2PO} xml production to correctlyTommy Reynolds2006-03-061-1/+1
| | | | set the language.
* Translatable entities: a reality!Tommy Reynolds2006-03-061-116/+172
|
* Added secret "make mrproper" target ;-)Tommy Reynolds2006-03-041-0/+21
|
* OK, OK, OK! We'll leave the default to XML2PO, but I'm keeping theTommy Reynolds2006-03-041-2/+2
| | | | | | | | | PO2XML line (commented out, though) until XML2PO works for me. It may be a matter of one's robustness in handling the XML formatting style rather than something obviously broken, but I'm not convinced. Anyway, using XML2PO works for the release-notes and for right now, "that's good enough"(tm).
* ${PO2XML} is back!! You need the "kdesdk" RPM after all!! Sorry!!Tommy Reynolds2006-03-041-3/+5
| | | | | | | | | | Evidently, the XML merge mode of xml2po(1) is broken; at least I could never get it to work reliably. The worst bug is that it doesn't handle "&FOO;"-style entities reliably: sometimes they get substituted, even if the "-k" switch is used and often times they are simply dropped from the output XML. Boo! Using po2xml(1) doesn't fix everything, but it's a step.
* Place the per-document entities file in the ${LANG}/ directory, whereTommy Reynolds2006-03-031-4/+1
| | | | | | | | it belonged all along. Using relative paths from within the local entities should work the same as relative paths elsewhere. With using the symbolic link "../doc-entities.ent" previously, relative paths within the per-document entities had to be relative to the parent directory unlike all other relative paths in the document.
* When validating XML, be sure to include the dependent files such asTommy Reynolds2006-03-031-1/+1
| | | | | ${1}/fdp-info.xml and ${1}/${DOC_ENTITIES}.ent so there is actually a hope of the XML validating.
* Replaced ${MSGMERGE} processing to update .PO file when the .XML andTommy Reynolds2006-03-031-0/+2
| | | | thus the .POT file changes.
* Deleted the 'DIR_template' foolishness and removed the "${LANG}" dummyTommy Reynolds2006-03-031-17/+2
| | | | | | target, too. Replaced the explicit "mkdir -p ${LANG}" in the rule to derive the non-${PRI_LANG} XML. This cuts down on the unnecessary XML regeneration and speeds things up a good bit.
* Added "-k" switch to ${XML2PO} usages to try and keep entity referencesTommy Reynolds2006-03-031-12/+10
| | | | intact. This doesn't fix the whole problem, but it's a start.
* Oops, removed too much. Sorry.Tommy Reynolds2006-03-021-0/+1
|
* Removed bogus targets that appeared before the "all::" rule, whichTommy Reynolds2006-03-021-9/+0
| | | | absolutely, positively, must be first.
* When doing "make clean", forgot the ".ent" extention on the ${DOC_ENTITIES}Tommy Reynolds2006-03-021-1/+1
| | | | reference.
* Fixed depandancies so that ${LANG}/fdp-info.xml andTommy Reynolds2006-03-021-4/+11
| | | | ${LANG}/${DOC_ENTITIES}.ent both get built
* Hide our workTommy Reynolds2006-03-011-1/+1
|
* Added support for per-document translatable entities file.Tommy Reynolds2006-03-011-4/+39
|