summaryrefslogtreecommitdiffstats
path: root/Makefile.common
Commit message (Collapse)AuthorAgeFilesLines
...
* Use xml2po(1) for all XML=>PO=>XML conversions; drop dependancy onTommy Reynolds2006-02-231-2/+1
| | | | | the buggy po2xml(1) from the kdesdk. This allows translators to free up potentially 82Mbyte or so of disk space as a bonus.
* Every .PO file is precious and make(1) should not delete it unlessTommy Reynolds2006-02-221-0/+3
| | | | explicitly directed to do so.
* Revert prior changes. Document template purpose.Tommy Reynolds2006-02-221-2/+4
|
* Move "-p" arg usage from application path to the actual usage.Tommy Reynolds2006-02-221-2/+2
|
* wrong argument sequence :(Yuan Yijun2006-02-221-2/+2
|
* use xml2po instead of po2xmlYuan Yijun2006-02-221-2/+2
|
* a second make should not fail because of mkdirYuan Yijun2006-02-221-1/+1
|
* Added "make targets" to see a list of all targets for the currentTommy Reynolds2006-02-201-2/+128
| | | | | | | | "Makefile". It looks much better if you sort the output: make targets | sort Needs some entries fleshed out.
* Add "text" alias for "txt" for bad typists and lexihounds. Also stripPaul W. Frields2006-02-171-7/+16
| | | | | | | annoying revhistory and index elements from plain text builds. There are very few instances where we will be providing txt builds -- e.g. release notes -- so this doesn't seem like a loss. If it is, XSLT is cheap.
* Whoa Nelly, let's keep those removals to the right stuff... :-)Paul W. Frields2006-02-171-1/+1
|
* Make text build cleanly without unnecessary link lists, esp. given our ↵Paul W. Frields2006-02-171-1/+4
| | | | standards for ulink element usage
* Make sure HTML nochunks files do not overwrite each otherPaul W. Frields2006-02-161-0/+1
|
* Add txt targetsPaul W. Frields2006-02-161-1/+20
|
* Added "${LANG}::" target to use as a dependant to the "xml-${LANG}" rulesTommy Reynolds2006-02-151-2/+13
| | | | so we don't invoke "mkdir -p ${LANG}" for every translated XML file.
* Reorganize the CVS layout to fully embrace I18N translator support.Tommy Reynolds2006-02-151-71/+226
| | | | | | | | | | | | | | | | | | | | | 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".
* Oops, remember Tommy's rule of good behavior in targetsPaul W. Frields2006-02-131-1/+1
|
* Add src-tarball phony target for use when VERSION isn't known externallyPaul W. Frields2006-02-131-2/+3
|
* Push to 0.3.1:Paul W. Frields2006-02-131-0/+1
| | | | | | | - Update Makefile to properly remove supporting source files - Support generation of fdp-info in local build environment - Include additional scripts - Revert spec.xsl to distinguish local builds from CVS builds
* Remove the rest of the files correctlyPaul W. Frields2006-02-131-3/+3
|
* Remember to remove RPM files in top level using correct namePaul W. Frields2006-02-131-1/+1
|
* Must make sure we don't remove non-generated files. For example, inPaul W. Frields2006-02-111-5/+5
| | | | | the release-notes directory there is a non-generated "fedora-release.spec" which we were whacking on a "make distclean".
* SHORT VERSION:Paul W. Frields2006-02-091-6/+24
| | | | | | | | | | | | | | | | | * Separate out rpm-common and package-post * Create additional noarch and srpm targets LONG VERSION: We need a target that builds only the SRPM to go with spec file for FE review, so here it is. (Also an additional disincentive to installing drafts, but that's neither here nor there.) Next up, adding this functionality to build-docs in infrastructure/ module. Note that you can now pass flags to prevent the package-prep and/or package-post steps with any RPM building process, although this might be an edge case. Robust! Simple! Elegant! Hopefully not stupid! Now with 50% more targets. (I added these to .PHONY which I think is the right thing to do. Everything still works at least...
* Do the right thing if there's no RPM revision yet for this docPaul W. Frields2006-02-071-0/+4
|
* Trivial, just tired of setting the modePaul W. Frields2006-02-071-0/+5
|
* Actually check in the ${PRI_LANG} changes I mentioned earlier.Tommy Reynolds2006-02-071-2/+7
|
* This flag no longer needed thanks to XSLT sweetnessPaul W. Frields2006-02-041-1/+0
|
* This seems to make packaging work again... probably needs checking for ↵Paul W. Frields2006-02-041-4/+4
| | | | kludginess
* This may not be strictly needed, but it makes me feel better, whatpre-package2Paul W. Frields2006-02-031-5/+5
| | | | with the new level of directories in CVS.
* Eliminate redundant buildingPaul W. Frields2006-02-031-4/+1
|
* Don't need ${POFILES} as a 'make showvars' item.Tommy Reynolds2006-02-031-1/+0
|
* 1) XML files are now expected to be in an "${LANG}/" subdirectory.Tommy Reynolds2006-02-031-22/+17
|
* Added "make po" target to generate PO files for all the "en" XML filesTommy Reynolds2006-02-031-1/+20
| | | | | | for the project. File "foo-en.xml" will be associated with a "foo-en.po" file, which may be edited and then merged into a new translation using the fdpsh "apply_po foo-en.xml>foo-xx.xml" command.
* Doh! Now the "make DRAFT=no html" or "make DRAFT=yes html" actuallyTommy Reynolds2006-01-311-10/+10
| | | | work. Defaults to "make DRAFT=yes".
* Remove harmless debugging cruft.Tommy Reynolds2006-01-301-1/+1
|
* When using find(1) to generate the list of candidate files for theTommy Reynolds2006-01-301-12/+12
| | | | | | | tarball, do not expand the filenames onto the command line, using "find *" because a filename with an embedded '#" will bork the remainder of the command line, seriously breaking the build process. Thanks again, Emacs!
* Send those lang stringparams, gotcha!Paul W. Frields2006-01-201-3/+7
|
* First cut a integrating the RPM packaging stuff with theTommy Reynolds2006-01-191-14/+149
| | | | | | | | | | | | | | "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.
* Select "fdpsh" as the shell used by make(1). This lets us avoidTommy Reynolds2006-01-171-6/+11
| | | | | | | | | ugly "${FDPBIN}/foo" in preference to a lovely, lonely, "foo". Also, replace unconditional mv(1) commands with "move-if-change" to help avoid needlessly touching a file, thus triggering a useless rebuild. Don't know if this happens here, but its a best practices thing.
* Use new fdpsh, 'cause it's kewlPaul W. Frields2006-01-161-4/+2
|
* Add function to insert colophon entryPaul W. Frields2006-01-151-0/+9
|
* And make the clog target easier to readPaul W. Frields2006-01-151-1/+1
|
* Make it possible to use alternate rpm-info.xml file if neededPaul W. Frields2006-01-151-2/+14
|
* Remove in-place sed(1) edit when generating fdp-info-${LANG}.xmlTommy Reynolds2006-01-121-15/+53
| | | | | | file. Added "rpm-info.xml" dependancies to force production of said file.
* Allow shorthand, I think this is OKrelease-notes-FC-5-TEST2-TRANS-FREEZEPaul W. Frields2006-01-071-1/+1
|
* Make sure FDPDIR gets set correctly, important for build processesPaul W. Frields2005-12-301-1/+1
|
* Remove nochunks watermark during clean targetPaul W. Frields2005-12-281-1/+1
|
* Define macro for xsltprocPaul W. Frields2005-12-281-0/+2
|
* Added a "make OLD=old.xml NEW=new.xml diff" target to utilize theTommy Reynolds2005-12-151-3/+18
| | | | xmldiff tool a bit easier.
* Dolt! Pass the desired language to the script that needs to look at it!Tommy Reynolds2005-12-121-2/+2
|
* Allow a document 'figs/' directory to contain its own subdirectoryTommy Reynolds2005-12-111-11/+4
| | | | | | structure. Copy the directory tree, but only populate it with files which pass the '-f glob' filter(s). If no filters are given, "*" is used as a default.