From owner-freebsd-hackers Tue May 13 18:14:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA00609 for hackers-outgoing; Tue, 13 May 1997 18:14:14 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA00604 for ; Tue, 13 May 1997 18:14:10 -0700 (PDT) Received: from awfulhak.demon.co.uk (localhost.lan.awfulhak.org [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id CAA10128; Wed, 14 May 1997 02:07:16 +0100 (BST) Message-Id: <199705140107.CAA10128@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: freebsd-hackers@FreeBSD.org cc: brian@utell.co.uk Subject: sgml make rules Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 14 May 1997 02:07:16 +0100 From: Brian Somers Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Hi, Has anyone got any objections to making the handbook and the tutorials' .html files using the -links flag ? This generates a script that will create a set of sym-links, one per .sgml file that allows other documents to xref specific sections of the document. So the html rule would be ${DOC}.html: ${SRCS} ${SGMLFORMAT} -f html -links ${SGMLFLAGS} ${.CURDIR}/${DOC}.sgml sh ${.CURDIR}/${DOC}.ln rm ${.CURDIR}/${DOC}.ln (I'd need some advice on how to actually do this.....) Comments/suggestions/advice needed :) -- Brian , Don't _EVER_ lose your sense of humour....