[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Possible trimming of build dependencies

* Tony Houghton <h@realh.co.uk>, 2010-05-16, 12:57:
Originally I used xsltproc to generate roxterm's man pages, as per the example in the New Maintainers' Guide, but when I moved the man pages upstream I got a bug report because the location of docbook.xsl isn't consistent across OSs

Just use http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl instead of the file name. Thanks to XML catalogs, xsltproc _won't_ download this file if docbook-xsl is installed.

Thanks, that sounds ideal. Should I still use the -nonet option?

You either need --nonet or --novalid or additional build-dependency on docbook-xml; otherwise xsltproc would try to download DTD for DocBook.

I recommend to always use xsltproc with --nonet, even if it is not necessary.

Jakub Wilk

Attachment: signature.asc
Description: Digital signature

Reply to: