make STYLESHEET_TYPE=xsl clean

Ceri Davies setantae at submonkey.net
Tue Apr 8 21:34:38 UTC 2003


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
-- 
-------------- 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: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")


More information about the freebsd-doc mailing list