Minor fix to clean target
authorEric Andersen <andersen@codepoet.org>
Tue, 1 Aug 2000 22:44:32 +0000 (22:44 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 1 Aug 2000 22:44:32 +0000 (22:44 -0000)
 -Erik

Makefile

index d936ae166f2be67af721048d26eea3193a0779ac..a2940b5ccae91be606babf594a59316e879a83ad 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -168,14 +168,13 @@ test tests:
        cd tests && $(MAKE) all
 
 clean:
        cd tests && $(MAKE) all
 
 clean:
-       - rm -f busybox.links *~ *.o core
-       - rm -rf _install
        cd tests && $(MAKE) clean
        - rm -f docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html \
            docs/busybox.lineo.com/BusyBox.html
        - rm -f docs/busybox.txt docs/busybox.dvi docs/busybox.ps \
            docs/busybox.pdf docs/busybox.lineo.com/busybox.html
        cd tests && $(MAKE) clean
        - rm -f docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html \
            docs/busybox.lineo.com/BusyBox.html
        - rm -f docs/busybox.txt docs/busybox.dvi docs/busybox.ps \
            docs/busybox.pdf docs/busybox.lineo.com/busybox.html
-       - rm -rf docs/busybox
+       - rm -rf docs/busybox _install
+       - rm -f busybox.links *~ *.o core
 
 distclean: clean
        - rm -f busybox
 
 distclean: clean
        - rm -f busybox