Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2003 22:34:36 +0100
From:      Ceri Davies <setantae@submonkey.net>
To:        doc@FreeBSD.org
Subject:   Re: make STYLESHEET_TYPE=xsl clean
Message-ID:  <20030408213436.GC49197@submonkey.net>
In-Reply-To: <20030408213228.GA49197@submonkey.net>
References:  <20030408213228.GA49197@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030408213436.GC49197>