[BusyBox] make distclean

Glenn McGrath bug1 at optushome.com.au
Tue Oct 23 01:22:40 UTC 2001


On Tue, 23 Oct 2001 16:20:44 +1000
"Glenn McGrath" <bug1 at optushome.com.au> wrote:

> The files applet_source_list, busybox.links and docs/busybox.pod are
> generated by make, but arent removed by distclean.
> 
> I see make distclean tries to remove applet_source_list, but it doesnt
> actually do it... i dunno why.
> 

looks like applet_source_list is make by ./tests/Makefile, changing the
order in ./Makefile fixes it, but perhaps ./tests/Makefile should be
fixed instead.

--- Makefile.orig	Tue Oct 23 17:12:12 2001
+++ Makefile	Tue Oct 23 17:12:32 2001
@@ -407,8 +407,8 @@
 	- find -name \*.o -exec rm -f {} \;
 
 distclean: clean
-	- rm -f busybox applet_source_list
 	- cd tests && $(MAKE) distclean
+	- rm -f busybox applet_source_list
 
 install: install.sh busybox busybox.links
 	$(SHELL) $< $(PREFIX)





More information about the busybox mailing list