From owner-freebsd-doc@FreeBSD.ORG Tue Apr 8 14:54:17 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 4CA4337B401; Tue, 8 Apr 2003 14:54:17 -0700 (PDT) Received: from shrike.submonkey.net (pc1-cdif2-5-cust38.cdif.cable.ntl.com [81.101.150.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4676A43FAF; Tue, 8 Apr 2003 14:54:16 -0700 (PDT) (envelope-from setantae@submonkey.net) Received: from setantae by shrike.submonkey.net with local (Exim 4.12) id 19312l-000Du2-00; Tue, 08 Apr 2003 22:54:15 +0100 Date: Tue, 8 Apr 2003 22:54:15 +0100 From: Ceri Davies To: Tom Rhodes Message-ID: <20030408215415.GE49197@submonkey.net> Mail-Followup-To: Ceri Davies , Tom Rhodes , doc@FreeBSD.org References: <20030408213228.GA49197@submonkey.net> <20030408213436.GC49197@submonkey.net> <20030409054317.6ef3cdf1.trhodes@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="H1spWtNR+x+ondvy" Content-Disposition: inline In-Reply-To: <20030409054317.6ef3cdf1.trhodes@FreeBSD.org> User-Agent: Mutt/1.5.4i Sender: Ceri Davies cc: doc@FreeBSD.org Subject: Re: make STYLESHEET_TYPE=xsl clean 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: Tue, 08 Apr 2003 21:54:17 -0000 --H1spWtNR+x+ondvy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Apr 09, 2003 at 05:43:17AM -0400, Tom Rhodes wrote: > On Tue, 8 Apr 2003 22:34:36 +0100 > Ceri Davies wrote: > > > On Tue, Apr 08, 2003 at 10:32:28PM +0100, Ceri Davies wrote: > > > > > > make STYLESHEET_TYPE=xsl clean doesn't currently work properly; any > > > objections to my committing the attached patch, which after a quick test > > > seems to do the right thing ? > > > > Harumph. Here's the patch this time. > > Ceri, this looks great. Be my guest and apply it. Thanks for > doing this! Hmm, hang on; I've missed something. Please see new patch (attached). Ceri -- --H1spWtNR+x+ondvy Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="xsl-clean.diff" Index: doc/share/mk/doc.docbook.mk =================================================================== RCS file: /home/dcvs/doc/share/mk/doc.docbook.mk,v retrieving revision 1.78 diff -u -r1.78 doc.docbook.mk --- doc/share/mk/doc.docbook.mk 16 Feb 2003 14:59:30 -0000 1.78 +++ doc/share/mk/doc.docbook.mk 8 Apr 2003 21:50:21 -0000 @@ -325,6 +325,10 @@ .endif .endif +.if (${STYLESHEET_TYPE} == "xsl") +CLEANFILES+= ${DOC}.xml .sxerr +.endif + .if (${LOCAL_CSS_SHEET} != ${CSS_SHEET}) && \ (${_cf} == "html-split" || ${_cf} == "html-split.tar" || \ ${_cf} == "html" || ${_cf} == "html.tar" || ${_cf} == "txt") --H1spWtNR+x+ondvy--