Re: [PATCH] user-manual: ensure generated manual references stylesheet

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

 



On Fri, Mar 16, 2007 at 12:44:19PM +0000, Robert Pluim wrote:
> J. Bruce Fields <bfields <at> citi.umich.edu> writes:
> 
> 
> > +XSLT = http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
> > +XSLTOPTS = --nonet --xinclude --stringparam html.stylesheet docbook-xsl.css
> > +
> >  user-manual.html: user-manual.xml
> > -	xmlto html-nochunks $<
> > +	xsltproc $(XSLTOPTS) -o $ <at>  $(XSLT) $<
> 
> Does this actually work for you?  I get:
> 
>   xsltproc --nonet --xinclude --stringparam html.stylesheet docbook-xsl.css -o
> user-manual.html
> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl user-manual.xml
>   I/O error : Attempt to load network entity
> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
>   warning: failed to load external entity
> "http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl";
>   cannot parse http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
>   make[1]: *** [user-manual.html] Error 4
> 
> 
> If I remove the --nonet it works fine.

Yes, it works for me.  From a quick strace, it appears to find the file
by opening /etc/xml/catalog, aplying some URL-rewriting rules found
there, then finding a file on my local filesystem under
/usr/share/sgml/docbook/.  Those files appear to be provided by a
package named docbook-style-xsl on my fedora box, and something called
docbook-xsl on my debian box.

I'd prefer the build not require network access, if possible.

--b.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]