summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen2003-01-27 22:11:59 +0000
committerEric Andersen2003-01-27 22:11:59 +0000
commita99534354a538573770d2b9835856fcfc017dab1 (patch)
treed2592c1a1a56836e1e7daf0d1992802b075552ea /Makefile
parent66a3af9d7c83e6b649caec4b6dd0cb252ddf76f1 (diff)
downloadbusybox-a99534354a538573770d2b9835856fcfc017dab1.zip
busybox-a99534354a538573770d2b9835856fcfc017dab1.tar.gz
Don't wipe the config system on 'make clean'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 55605af..36fc411 100644
--- a/Makefile
+++ b/Makefile
@@ -209,16 +209,17 @@ clean:
docs/busybox.pdf docs/busybox.pod docs/busybox.net/busybox.html \
docs/busybox _install pod2htm* *.gdb *.elf *~ core
- rm -f busybox busybox.links libbb/loop.h .config.old .hdepend
- - rm -f scripts/split-include scripts/mkdep .*config.log
- - rm -rf include/config include/config.h
+ - rm -f .*config.log
- find . -name .\*.flags -exec rm -f {} \;
- - find . -name .depend -exec rm -f {} \;
- find . -name \*.o -exec rm -f {} \;
- find . -name \*.a -exec rm -f {} \;
- - $(MAKE) -C scripts/config clean
distclean: clean
+ - rm -f scripts/split-include scripts/mkdep
+ - rm -rf include/config include/config.h
+ - find . -name .depend -exec rm -f {} \;
rm -f .config .config.old .config.cmd
+ - $(MAKE) -C scripts/config clean
release: distclean #doc
cd ..; \