2003-09-09 05:26:38

by Nathan Lynch

[permalink] [raw]
Subject: [PATCH] remove cscope.out during make mrproper

diff -Nru a/Makefile b/Makefile
--- a/Makefile Mon Sep 8 23:56:59 2003
+++ b/Makefile Mon Sep 8 23:56:59 2003
@@ -672,7 +672,7 @@
.menuconfig.log \
include/asm \
.hdepend include/linux/modversions.h \
- tags TAGS cscope kernel.spec \
+ tags TAGS cscope.out kernel.spec \
.tmp*

# Directories removed with 'make mrproper'


Attachments:
(No filename) (346.00 B)
cscope.patch (333.00 B)
Download all attachments

2003-09-20 20:51:29

by Sam Ravnborg

[permalink] [raw]
Subject: Re: [PATCH] remove cscope.out during make mrproper

On Tue, Sep 09, 2003 at 12:28:28AM -0500, Nathan T. Lynch wrote:
> Hi-
>
> 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...

Thanks.
Added to my local tree and forwarded to Linus.

Sam