Subject: bin/2854: make clean in src/usr.sbin doesn't clean apm and apmd
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@bga.com>
List: netbsd-bugs
Date: 10/16/1996 19:32:59
>Number:         2854
>Category:       bin
>Synopsis:       make clean in src/usr.sbin doesn't clean apm and apmd
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 16 17:35:01 1996
>Last-Modified:
>Originator:     Dave Huang
>Organization:
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 20 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Release:        October 15, 1996
>Environment:
	
System: NetBSD apm2-125.realtime.net 1.2A NetBSD 1.2A (SPIFF) #49: Tue Oct 15 20:23:54 CDT 1996 khym@apm2-107.realtime.net:/usr/src/sys/arch/i386/compile/SPIFF i386


>Description:
Doing a make clean or make cleandir in /usr/src/usr.sbin (or in /usr/src)
doesn't clean /usr/src/usr.sbin/apm or /usr/src/usr.sbin/apmd.

>How-To-Repeat:
(On a NetBSD/i386 system) build apm and apmd, then do a make clean in
/usr/src/usr.sbin. Now look in the apm and apmd subdirs and see that
the *.o and executables are still there.

>Fix:
--- /usr/src/usr.sbin/Makefile	Mon Oct 14 11:59:23 1996
+++ Makefile	Wed Oct 16 19:25:21 1996
@@ -21,7 +21,7 @@
 .endif
 
 .if   make(clean) || make(cleandir)
-SUBDIR+=bad144 config.old dbsym eeprom grfconfig grfinfo hilinfo \
+SUBDIR+=apm apmd bad144 config.old dbsym eeprom grfconfig grfinfo hilinfo \
 	iteconfig screenblank videomode
 .elif ${MACHINE} == "amiga"
 SUBDIR+=grfconfig iteconfig screenblank videomode
>Audit-Trail:
>Unformatted: