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

From: Sam Ravnborg
Date: Mon Nov 05 2007 - 02:40:21 EST


On Mon, Nov 05, 2007 at 03:32:33PM +0800, WANG Cong wrote:
>
> Hi, Sam!
>
> This patch adds the ncscope.out file into cleaning targets of 'make mrproper'.
>
> Signed-off-by: WANG Cong <xiyou.wangcong@xxxxxxxxx>
> Cc: Sam Ravnborg <sam@xxxxxxxxxxxx>
>
> ---
> Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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* ncscope.out

Hi WANG.

ncscope.out is just a temporary file but I see why you like to have it covered.
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
-
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/