Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2001 10:57:11 +0400 (MSD)
From:      Alex Kapranoff <kapr@acm.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/28864: [patch] make clean in DocProj dirs leave generated files
Message-ID:  <200107100657.f6A6vBn01599@kapran.bitmcnit.bryansk.su>

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

>Number:         28864
>Category:       docs
>Synopsis:       [patch] make clean in DocProj dirs leave generated files
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 10 00:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Alex Kapranoff <kapr@acm.org>
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Inner Mongolia
>Environment:
System: FreeBSD kapran.bitmcnit.bryansk.su 5.0-CURRENT FreeBSD 5.0-CURRENT #5: Sun Jun 24 22:56:52 MSD 2001 root@kapran.bitmcnit.bryansk.su:/usr/src/sys/compile/KAPRAN i386


	
>Description:
	1. Recent conversion to using CSS stylesheets for html-based
	formats missed adding docbook.css to CLEANFILES.
	2. ${INDEX_SGML} is now generated whether ${GEN_INDEX} is
	defined or not. So add it to CLEANFILES unconditionally.

>How-To-Repeat:
	
>Fix:

--- doc.docbook.mk.orig	Tue Jul 10 10:33:39 2001
+++ doc.docbook.mk	Tue Jul 10 10:36:24 2001
@@ -135,23 +135,28 @@
 .if ${_cf} == "html-split"
 _docs+= index.html HTML.manifest ln*.html
 CLEANFILES+= `[ -f HTML.manifest ] && xargs < HTML.manifest` HTML.manifest ln*.html
+CLEANFILES+= docbook.css
 
 .elif ${_cf} == "html-split.tar"
 _docs+= ${DOC}.html-split.tar
 CLEANFILES+= `[ -f HTML.manifest ] && xargs < HTML.manifest` HTML.manifest ln*.html
 CLEANFILES+= ${DOC}.html-split.tar
+CLEANFILES+= docbook.css
 
 .elif ${_cf} == "html"
 _docs+= ${DOC}.html
 CLEANFILES+= ${DOC}.html
+CLEANFILES+= docbook.css
 
 .elif ${_cf} == "html.tar"
 _docs+= ${DOC}.html.tar
 CLEANFILES+= ${DOC}.html ${DOC}.html.tar
+CLEANFILES+= docbook.css
 
 .elif ${_cf} == "txt"
 _docs+= ${DOC}.txt
 CLEANFILES+= ${DOC}.html ${DOC}.txt ${DOC}.html-text
+CLEANFILES+= docbook.css
 
 .elif ${_cf} == "dvi"
 _docs+= ${DOC}.dvi
@@ -205,13 +210,13 @@
 # Index generation
 #
 INDEX_SGML?=		index.sgml
+CLEANFILES+= 		${INDEX_SGML}
 
 .if defined(GEN_INDEX)
 HTML_SPLIT_INDEX?=	html-split.index
 HTML_INDEX?=		html.index
 PRINT_INDEX?=		print.index
 
-CLEANFILES+= 		${INDEX_SGML}
 CLEANFILES+= 		${HTML_SPLIT_INDEX} ${HTML_INDEX} ${PRINT_INDEX}
 .endif
 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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