Skip to contentSkip to conversation

remove cscope.out during make mrproper

PATCH In review Nathan T. Lynch 2 participants 2 messages Sep 9, 2003 – Sep 20, 2003 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove cscope.out during make mrproper

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...

Please cc me on replies.

Nathan

Makefile +1 -1
diff -Nru a/Makefile b/Makefile
@@ -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'
#1 lore raw
Quoted 7 lines · Nathan T. Lynch

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