From owner-freebsd-doc@FreeBSD.ORG Tue Apr 8 14:34:38 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 2948537B401 for ; Tue, 8 Apr 2003 14:34:38 -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 7675043F3F for ; Tue, 8 Apr 2003 14:34:37 -0700 (PDT) (envelope-from setantae@submonkey.net) Received: from setantae by shrike.submonkey.net with local (Exim 4.12) id 1930jk-000CpB-00 for doc@FreeBSD.org; Tue, 08 Apr 2003 22:34:36 +0100 Date: Tue, 8 Apr 2003 22:34:36 +0100 From: Ceri Davies To: doc@FreeBSD.org Message-ID: <20030408213436.GC49197@submonkey.net> Mail-Followup-To: Ceri Davies , doc@FreeBSD.org References: <20030408213228.GA49197@submonkey.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline In-Reply-To: <20030408213228.GA49197@submonkey.net> User-Agent: Mutt/1.5.4i Sender: Ceri Davies 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:34:38 -0000 --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 -- --y0ulUmNC+osPPQO6 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:30:57 -0000 @@ -325,6 +325,10 @@ .endif .endif +.if (${STYLESHEET_TYPE} == "xsl") +CLEANFILES+= ${DOC}.xml +.endif + .if (${LOCAL_CSS_SHEET} != ${CSS_SHEET}) && \ (${_cf} == "html-split" || ${_cf} == "html-split.tar" || \ ${_cf} == "html" || ${_cf} == "html.tar" || ${_cf} == "txt") --y0ulUmNC+osPPQO6--