From owner-freebsd-doc Tue Jul 10 0:20:57 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4B13937B405 for ; Tue, 10 Jul 2001 00:20:44 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f6A7K1I51296; Tue, 10 Jul 2001 00:20:01 -0700 (PDT) (envelope-from gnats) Received: from rbn-gw.bgtu.debryansk.ru (rbn-gw.bgtu.debryansk.ru [62.76.89.2]) by hub.freebsd.org (Postfix) with ESMTP id 51C0937B405 for ; Tue, 10 Jul 2001 00:15:38 -0700 (PDT) (envelope-from alex@kapran.bitmcnit.bryansk.su) Received: from server.bitmcnit.bryansk.su (root@bitmcnit.bryansk.su [192.168.121.2]) by rbn-gw.bgtu.debryansk.ru (8.11.2/8.11.2) with ESMTP id f6A7BTD08488 for ; Tue, 10 Jul 2001 11:11:29 +0400 Received: (from uucp@localhost) by server.bitmcnit.bryansk.su (8.9.3/8.9.3) with UUCP id LAA09048 for FreeBSD-gnats-submit@freebsd.org; Tue, 10 Jul 2001 11:07:41 +0400 Received: (from root@localhost) by kapran.bitmcnit.bryansk.su (8.11.4/8.11.4) id f6A6vBn01599; Tue, 10 Jul 2001 10:57:11 +0400 (MSD) (envelope-from alex) Message-Id: <200107100657.f6A6vBn01599@kapran.bitmcnit.bryansk.su> Date: Tue, 10 Jul 2001 10:57:11 +0400 (MSD) From: Alex Kapranoff To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: docs/28864: [patch] make clean in DocProj dirs leave generated files Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 >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