[Openmcl-devel] Ways around the with-simple-restart bug?
mikel at evins.net
Tue Dec 7 19:56:17 EST 2004
On Dec 7, 2004, at 4:23 PM, Dan Knapp wrote:
> All that said, though, if you have experience with docbook or are
> willing to
> learn, I definitely need to improve the speed of the build process.
> mostly consists of turning on profiling in the (documentation)
> makefile and
> figuring out which standard stylesheets and DTDs it's pulling from the
> network because it doesn't have them locally, and how I can make it
> the local copies.
Make a file called "catalog" which contains something like this:
<group prefer="public" xml:base="file:///sw/share/xml" >
publicId="-//OASIS//DTD DocBook XML V4.2//EN"
Wherever your XSLs refer to a stylesheet or DTD by URI, create a URI
entry that points to the local file on your system.
Define an environment variable named "XML_CATALOG_FILES" show value is
the pathname of the catalog file.
If you create definitions for all the referenced DTDs and stylesheets,
the build should be dramatically faster (I maintain the DocBook system
at my employer, and our docs build in less than 10 secoonds when the
catalog is correct, versus several minutes when it isn't.)
More information about the Openmcl-devel