Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Nov 2003 13:42:13 -0500
From:      Michael Edenfield <kutulu@kutulu.org>
To:        freebsd-doc@freebsd.org
Subject:   Does XML Docbook work with the /usr/doc makefiles?
Message-ID:  <20031107184212.GB44915@wombat.localnet>

next in thread | raw e-mail | index | archive | help

--Y7xTucakfITjPcLV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I'm trying to write documentation (not directly related to FreeBSD) and
would like to take advantage of the very efficient setup the
documentation project has.  I've installed the docproj port and the
/usr/doc source and can build all the existing documentation fine.

My documents are using DocBook 4.2 (the stock one), which the docproj
port only installs as an XML DTD.  Which is fine, since I would prefer
to use XML over SGML since that appears to be the direction DocBook is
going.  I have my Makefile set up as:

DOC_PREFIX = /usr/doc
DOC = book
DOCBOOKSUFFIX = .xml
SRCS = book.xml \
       part1/magnetism.xml part1/energy.xml part1/matter.xml \
       part1/emf.xml part1/conservation.xml \
       part2/acdc.xml \
       biblio/biblio.xml
STYLESHEET_TYPE = xsl
FORMATS = html html-split

.include "/usr/doc/share/mk/doc.project.mk"


My reading through doc.docbook.mk seems to indicate this should work.
By setting the stylesheet type to xsl, the makefile automatically
selects ${DOC}.xml as the source and the xsltproc utilities.  But I get:

Graph cycles through book.xml

and make dies.

Is this a known issue, and if so, is it something you would like fixed?
I'm more than willing to try and track down any problem but I don't want
to duplicate or waste effort :)

--Mike


--Y7xTucakfITjPcLV
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/q+eECczNhKRsh48RApZ9AJ42tgEVY0xPAUfzlAQSgyNRx3USQACgv8Dt
E+zMqM6BTF+k9SsGhI9ts+4=
=JtKj
-----END PGP SIGNATURE-----

--Y7xTucakfITjPcLV--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031107184212.GB44915>