From owner-freebsd-doc@FreeBSD.ORG Fri Nov 7 10:42:55 2003 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2B3416A4CE for ; Fri, 7 Nov 2003 10:42:54 -0800 (PST) Received: from basement.kutulu.org (pcp03610121pcs.longhl01.md.comcast.net [68.49.239.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F39B43FAF for ; Fri, 7 Nov 2003 10:42:54 -0800 (PST) (envelope-from kutulu@kutulu.org) Received: from wombat.localnet (wombat.localnet [192.168.69.3]) by basement.kutulu.org (Postfix) with ESMTP id A42B3AA36 for ; Fri, 7 Nov 2003 13:42:53 -0500 (EST) Received: by wombat.localnet (Postfix, from userid 1001) id 94973B855; Fri, 7 Nov 2003 13:42:13 -0500 (EST) Date: Fri, 7 Nov 2003 13:42:13 -0500 From: Michael Edenfield To: freebsd-doc@freebsd.org Message-ID: <20031107184212.GB44915@wombat.localnet> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Y7xTucakfITjPcLV" Content-Disposition: inline X-Mailer: Mutt http://www.mutt.org/ X-Accept-Language: en X-PGP-Key: http://www.kutulu.org/pgp/kutulu.asc X-PGP-Fingerprint: 1CE0 3C31 7013 D529 406D 37DC 09CC CD84 A46C 878F User-Agent: Mutt/1.5.4i Subject: Does XML Docbook work with the /usr/doc makefiles? X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2003 18:42:55 -0000 --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--