]> git.neil.brown.name Git - history.git/commitdiff
Fix "make mrproper" that broke when the files pattern matched
authorLinus Torvalds <torvalds@home.transmeta.com>
Sat, 28 Sep 2002 12:09:34 +0000 (05:09 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sat, 28 Sep 2002 12:09:34 +0000 (05:09 -0700)
a directory pattern. Clean directories _first_, then files.

Makefile

index b9e29c14593015a05161a45f31ff48e7a5505179..2d5e00a174fba09d12b87b25656cb5fd32854c04 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -732,8 +732,8 @@ mrproper: clean archmrproper
        @find . $(RCS_FIND_IGNORE) \
                \( -name .depend -o -name .\*.cmd \) \
                -type f -print | xargs rm -f
-       @rm -f $(MRPROPER_FILES)
        @rm -rf $(MRPROPER_DIRS)
+       @rm -f $(MRPROPER_FILES)
        @$(MAKE) -C scripts mrproper
        @$(MAKE) -f Documentation/DocBook/Makefile mrproper