Red Hat Bugzilla – Bug 29067
RFE docbook2* cannot use non-system backends
Last modified: 2008-05-01 11:37:59 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22enterprise i686; en-US;
The jw wrapper script called by docbook2* blindly prepends
"/usr/share/sgml/docbook/utils-0.6/backends/" to all backend names. This
makes it impossible for an individual to produce a customized backend for
their own use.
Steps to Reproduce:
Copy a backend from the docbook-utils backend directory to your current
working directory. Name it something different, like "foo". Then try to
use it, either via "-b foo" or "-b complete/path/foo". No dice...
Expected Results: It would be preferable for the -b option to handle
backend selection a bit more intelligently. At the least, it should
respect any relative or absolute path passed as part of the -b option.
Over and above that, doing something like proccessing a $PATH-like variable
to select backends might be nice, but I'd personally be satisfied if "-b
some/path/foo" worked... :-)
Not sure if handling relative paths is a good idea, since it could still be a
system backend. I have a patch for handling absolute paths properly though.
We (Red Hat) should really try to resolve this before next release.
Patch applied in docbook-utils-0.6-11.