NetBSD Problem Report #101

From gnats  Tue Jan 25 11:54:13 1994
Received: from aruba.lerc.nasa.gov (root@aruba.lerc.nasa.gov [139.88.35.16]) by sun-lamp.cs.berkeley.edu (8.6.4/8.6.4) with SMTP id LAA01041 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Tue, 25 Jan 1994 11:46:47 -0800
Message-Id: <199401251637.AA21364@flick.lerc.nasa.gov>
Date: Tue, 25 Jan 1994 11:37:37 -0500
From: mckim@lerc.nasa.gov
Reply-To: mckim@lerc.nasa.gov
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: 'make clean' doesn't remove formatted (*.0) man pages
X-Send-Pr-Version: 3.2

>Number:         101
>Category:       misc
>Synopsis:       'make clean' doesn't remove formatted (*.0) man pages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 25 12:05:11 +0000 1994
>Closed-Date:    Tue Jan 25 21:30:37 +0000 1994
>Last-Modified:  
>Originator:     Jim McKim
>Release:        
>Organization:
NASA Lewis Research Center
>Environment:
System:		NetBSD mildred 0.9a MILDRED#5 i386
Machine: i386
>Description:

In the /usr/src hierarchy, formatted man pages don't get removed by
'make clean'. If it becomes necessary to regenerate all the formatted
man pages, getting rid of the old ones is cumbersome.

>How-To-Repeat:

cd /usr/src/sbin/ping
make ping.0
make clean
[the formatted man page ping.0 is still there]

>Fix:

As far as I can tell, only prog and lib type targets have these sort
of formatted pages (as part of the default make target). The make
variable MANALL is constructed from target man page names elsewhere
and works in tests with these patches applied.

*** bsd.lib.mk.orig	Tue Jan 25 11:03:38 1994
--- bsd.lib.mk	Tue Jan 25 11:10:18 1994
***************
*** 117,123 ****

  .if !target(clean)
  clean:
! 	rm -f a.out Errs errs mklog core ${CLEANFILES}
  	rm -f ${OBJS}
  	rm -f ${POBJS} profiled/*.o
  	rm -f ${SOBJS} shared/*.o
--- 117,123 ----

  .if !target(clean)
  clean:
! 	rm -f a.out Errs errs mklog core ${CLEANFILES} ${MANALL}
  	rm -f ${OBJS}
  	rm -f ${POBJS} profiled/*.o
  	rm -f ${SOBJS} shared/*.o
*** bsd.prog.mk.orig	Tue Jan 25 11:00:46 1994
--- bsd.prog.mk	Tue Jan 25 11:01:36 1994
***************
*** 88,94 ****

  .if !target(clean)
  clean:
! 	rm -f a.out [Ee]rrs mklog core ${PROG} ${OBJS} ${CLEANFILES}
  .endif

  cleandir: clean
--- 88,94 ----

  .if !target(clean)
  clean:
! 	rm -f a.out [Ee]rrs mklog core ${PROG} ${MANALL} ${OBJS} ${CLEANFILES}
  .endif

  cleandir: clean


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: cgd 
State-Changed-When: Tue Jan 25 13:30:37 PST 1994 
State-Changed-Why:  
'make cleandir' already did what was requested. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.