make STYLESHEET_TYPE=xsl clean

Ceri Davies setantae at submonkey.net
Tue Apr 8 21:54:17 UTC 2003


On Wed, Apr 09, 2003 at 05:43:17AM -0400, Tom Rhodes wrote:
> On Tue, 8 Apr 2003 22:34:36 +0100
> Ceri Davies <setantae at submonkey.net> 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

-- 
-------------- next part --------------
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")


More information about the freebsd-doc mailing list