[stgt] [PATCH 1/1] Add a manpage for TGTD in XSLT format and makefile changes to build it.

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Wed Feb 17 07:46:24 CET 2010


On Wed, 17 Feb 2010 15:36:15 +0900
FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp> wrote:

> > >> +manpages/tgtd.8: tgtd.8.xml
> > >> +     -test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
> > >> +
> > >> +htmlpages/tgtd.8.html: tgtd.8.xml
> > >> +     -test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
> > >
> > > It means that it tries to connect to docbook.sf.net? If so, can we use
> > > the local files instead?
> > 
> > Good point.
> > I have updated the makefile to use the local files. Attached is a new patch.
> 
> I guess that other distributions might use different paths?
> 
> Is there any clever way to find appropriate style files? If not, it
> would be ok to have our local copies, I guess.

On second thought, 'make install' doesn't run "xmlman" and "xmlhtml"
We do only when we update xml files. So something like the following
should be fine, I guess.

MAN_XSL ?= /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
HTML_XSL ?= /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list