summaryrefslogtreecommitdiffstats
path: root/Makefile.common
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Reverting, this is just not good.Paul W. Frields2006-03-011-5/+2
|
* Let's generate new entities for a document at build time, into a realPaul W. Frields2006-03-011-2/+5
| | | | | | | | | | file. This particular fix lets the document author specify a "entities.xml" file in the PRI_LANG directory, which can be PO'd and translated like anything else. I'm thinking this should be one of the XMLFILES in the Makefile as well, right? In any case, there's a little bit of comment duplication but nothing that really matters, since the file shouldn't be entered in CVS anyway and will be rebuilt regularly.
* Set proper locale before validating XML. Do a more thourough jobrelease-notes-FC-5-GOLD-for-ISOTommy Reynolds2006-03-011-2/+14
| | | | of cleaning up after ourselves.
* Include "${1}/fdp-info.xml" as a prerequisite to validation.Tommy Reynolds2006-02-281-1/+1
|
* Added "make validate-xml-${LANG}" and "make validate-xml" targets toTommy Reynolds2006-02-281-0/+24
| | | | validate the document XML without performing any subsequent processing.
* Provided viewing hint to "make help" output: use sort(1)!Tommy Reynolds2006-02-281-1/+1
|
* Added "msgmerge -U" switch to update .PO file in-place. Dropped theTommy Reynolds2006-02-281-2/+1
| | | | "*.po.bank" backup file in favor of the msgmerge default behavior.
* Added "fdpcommon" kind of entity. Automatically relocate filesTommy Reynolds2006-02-281-1/+1
| | | | | | marked as "fdpcommon" when building the ".ent" files. Revert Karsten's "Makefile.common" change as a courtesey.
* The file is a legal XML file now, and it is thus named, so now this ↵Karsten Wade2006-02-271-1/+1
| | | | shouldn't break stuff.
* Use UTF-8 for these targets too, methinks. Also, fix rpm-common to do a ↵Paul W. Frields2006-02-261-4/+8
| | | | more brainful job of automagicking. I love making up words.
* Added "set-locale-${LANG}" target to change the local symlinkTommy Reynolds2006-02-261-35/+63
| | | | | | | | "locale-entities.xml" to point to the "docs-common/common/entities/entities-${LANG}.ent" file. The locale gets reset automatically as needed each time the XML is rendered via xmlto(1).
* Need XML files for src-tarballPaul W. Frields2006-02-241-1/+2
|
* Add another phony alias "help" for better across-the-project adherencePaul W. Frields2006-02-241-2/+2
| | | | (q.v. Fedora Extras), plus it makes a weird kind of sense.