On Thu, Apr 28, 2011 at 1:33 PM, Jeremy Huddleston <[email protected]> wrote: > > We are explicitly pulling in resources from the net, so this would always > fail. > > %.html.db: %.xml $(chapters) > $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_FLAGS) \ > http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl $< > > %.fo.db: %.xml $(chapters) > $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_FLAGS) \ > http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl $<
This isn't true. If your xml catalog is setup correctly, the url will be converted to a local file. In /etc/xml/catalog on my F13 box: <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="file:///usr/share/sgml/docbook/xsl-stylesheets-1.75.2"/> This is no different than having an http:// URI at the top of an xml document. Others may feel differently, but I think it's much preferred to not start pulling bits off the network during a build. If you run xmlto (rather than xsltproc directly), it will always pass --nonet to xsltproc. -- Dan _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
