Re: kbuild: Remove cscope.out during make mrproper

From: GOTO Masanori
Date: Mon Sep 22 2003 - 12:26:27 EST


At Wed, 10 Sep 2003 21:18:24 +0200,
Sam Ravnborg wrote:
> # From: "Nathan T. Lynch" <ntl@xxxxxxxxx>
> #
> # The attached patch fixes the toplevel Makefile to remove cscope.out
> # during make mrproper. The default name for the database that cscope
> # creates is cscope.out, and this is what the cscope rule in the
> # makefile uses. Currently, mrproper will leave cscope.out behind,
> # which can make for interesting diffs...
> # --------------------------------------------
> #
> diff -Nru a/Makefile b/Makefile
> --- a/Makefile Wed Sep 10 21:15:47 2003
> +++ b/Makefile Wed Sep 10 21:15:47 2003
> @@ -675,7 +675,7 @@
> .menuconfig.log \
> include/asm \
> .hdepend include/linux/modversions.h \
> - tags TAGS cscope kernel.spec \
> + tags TAGS cscope.out kernel.spec \

This patch looks fine. But it's also good idea to remove
cscope.in.out, cscope.po.out (for inverted index: -q option).


--- Makefile.org 2003-09-12 10:20:18.000000000 +0900
+++ Makefile 2003-09-12 10:20:00.000000000 +0900
@@ -672,7 +672,7 @@
.menuconfig.log \
include/asm \
.hdepend include/linux/modversions.h \
- tags TAGS cscope kernel.spec \
+ tags TAGS cscope.out cscope.in.out cscope.po.out kernel.spec \
.tmp*

# Directories removed with 'make mrproper'


Regards,
-- gotom
-
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/