From owner-freebsd-doc Wed Aug 26 08:23:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA18348 for freebsd-doc-outgoing; Wed, 26 Aug 1998 08:23:18 -0700 (PDT) (envelope-from owner-freebsd-doc@FreeBSD.ORG) Received: from mail.cs.tu-berlin.de (mail.cs.tu-berlin.de [130.149.17.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA18343 for ; Wed, 26 Aug 1998 08:23:11 -0700 (PDT) (envelope-from wosch@cs.tu-berlin.de) Received: from freno.cs.tu-berlin.de (wosch@freno.cs.tu-berlin.de [130.149.17.167]) by mail.cs.tu-berlin.de (8.9.1/8.9.1) with ESMTP id RAA21954; Wed, 26 Aug 1998 17:16:38 +0200 (MET DST) Received: (from wosch@localhost) by freno.cs.tu-berlin.de (8.9.1/8.9.0) id RAA28698; Wed, 26 Aug 1998 17:16:37 +0200 (MET DST) Message-ID: <19980826171637.A28336@freno.cs.tu-berlin.de> Date: Wed, 26 Aug 1998 17:16:37 +0200 From: Wolfram Schneider To: nik@iii.co.uk, Wolfram Schneider , doc@FreeBSD.ORG Subject: Re: bsd.docb.mk References: <19980825133058.A534@panke.de> <19980826104603.A10762@iii.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <19980826104603.A10762@iii.co.uk>; from nik@iii.co.uk on Wed, Aug 26, 1998 at 10:46:03AM +0100 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 1998-08-26 10:46:03 +0100, nik@iii.co.uk wrote: > > A sample makefile for tutorials/devel: > > > > DOC= devel > > VOLUME= tutorials/${DOC} > > SRCS= ${DOC}.docb > > > > .include > > Sorry, don't like it. Specifically, it assumes that DocBook documents are > going to have a .docb suffix (something I thought had been discussed > back in March/April this year). I can modify bsd.docb.mk so it will work for .sgml and .docb suffix. > The body of doc/en/handbook/Makefile can probably be used as a starting > point. The suffix files for .sgml.html works out the DTD of the source > .sgml file and then tries to do the right thing (i.e., it converts .sgml > files that are in the HTML DTD using sgmlnorm, it converts .sgml files > that are in the DocBook DTD using Jade (although it could use instant). The DTDs are converted to different formats. linuxdoc create ps, ascii and HTML. Docbook currently only HTML. I don't know an easy way to handle this. > I think using the file suffix to use the DTD is wrong, particularly when > the website doesn't follow the same rules. I prefer a makefile variable. E.g. SGMLDTD=docbook -- Wolfram Schneider http://freebsd.org/~w/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message