Subject: xsrc/10820: make cleandir dosen't clean under xsrc/local.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <taca@sky.yamashina.kyoto.jp>
List: netbsd-bugs
Date: 08/12/2000 00:25:15
>Number: 10820
>Category: xsrc
>Synopsis: make cleandir dosen't clean under xsrc/local.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: xsrc-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Aug 12 00:26:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Takahiro Kambe
>Release: NetBSD 1.5_ALPHA
>Organization:
>Environment:
System: NetBSD land.sky.yamashina.kyoto.jp 1.5_ALPHA NetBSD 1.5_ALPHA (LAND) #96: Fri Aug 11 00:59:56 JST 2000 taca@land.sky.yamashina.kyoto.jp:/usr/src/sys/arch/i386/compile/LAND i386
>Description:
make cleandir in xsrc dosen't clean under xsrc/local.
>How-To-Repeat:
# cd /usr/xsrc
# make
# make cleandir
>Fix:
Attached diff fix the problem.
--- Makefile.orig Wed Jul 26 20:15:58 2000
+++ Makefile Mon Jul 31 20:04:23 2000
@@ -65,10 +65,11 @@
clean:
@-cd xc && ${MAKE} clean
@-cd contrib && ${MAKE} clean
+ @-cd local && ${MAKE} clean
cleandir distclean: clean
- find xc contrib -name .depend | xargs rm
- find xc contrib -name 'Makefile*' | \
+ find xc contrib local -name .depend | xargs rm
+ find xc contrib local -name 'Makefile*' | \
xargs grep -l "Makefile generated by imake" | xargs rm
-rmdir xc/exports
rm -f xc/xmakefile
>Release-Note:
>Audit-Trail:
>Unformatted: