Re: [git Patch] Makefile: Remove ncscope.out when make mrproper

From: WANG Cong
Date: Mon Nov 05 2007 - 03:12:53 EST


On Mon, Nov 05, 2007 at 08:41:37AM +0100, Sam Ravnborg wrote:

<snip>

>
>Hi WANG.
>
>ncscope.out is just a temporary file but I see why you like to have it covered.

Thanks. ;)

>How about modifying the rule to look like this:
>> - Module.symvers tags TAGS cscope*
>> + Module.symvers tags TAGS *cscope*
>
>Or is this to broad a pattern?
>
> Sam

Yes, that is better. New patch below.


Signed-off-by: WANG Cong <xiyou.wangcong@xxxxxxxxx>

---
Index: linux-2.6/Makefile
===================================================================
--- linux-2.6.orig/Makefile
+++ linux-2.6/Makefile
@@ -1073,7 +1073,7 @@ MRPROPER_DIRS += include/config include
MRPROPER_FILES += .config .config.old include/asm .version .old_version \
include/linux/autoconf.h include/linux/version.h \
include/linux/utsrelease.h \
- Module.symvers tags TAGS cscope*
+ Module.symvers tags TAGS *cscope*

# clean - Delete most, but leave enough to build external modules
#
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/