]> git.hungrycats.org Git - linux/commitdiff
[PATCH] remove .mod.c files in make clean
authorBrian Gerst <bgerst@didntduck.org>
Sun, 16 Feb 2003 04:13:57 +0000 (20:13 -0800)
committerPaul Mackerras <paulus@samba.org>
Sun, 16 Feb 2003 04:13:57 +0000 (20:13 -0800)
Remove the generated *.mod.c files in make clean.

Makefile

index 29464fef36322d934fd39cbbd9b929c88ec15505..0f542ded8c10bab3cd3069b9c6b917d94a736a33 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -704,8 +704,8 @@ clean: archclean $(clean-dirs)
        $(call cmd,rmclean)
        @find . $(RCS_FIND_IGNORE) \
                \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
-               -o -name '.*.d' -o -name '.*.tmp' \) -type f \
-               -print | xargs rm -f
+               -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \) \
+               -type f -print | xargs rm -f
 
 # mrproper - delete configuration + modules + core files
 #