[TRIVIAL PATCH] generating cscope.files when 'make cscope'

From: Louis Zhuang
Date: Fri Sep 19 2003 - 01:03:59 EST


Dear Kai,
The following trivial patch will generate cscope.files as well as
cscope.out. This will help cscope plug-in for emacs. Pls apply if you
like it.
--
Yours truly,
Louis Zhuang
--------------------------------------------------------------------------------
Software is a process, not a static entity. It is becoming, rather that being.
It can easily be bad, but never be perfect. Its essence is eternal refactoring.
- Inspired by Judge William H. Hastie

My words are my own...

--------------------------------------------------------------------------------
Fault Injection Test Harness Project
BK tree: http://fault-injection.bkbits.net/linux-2.5
Home Page: http://sf.net/projects/fault-injection

Open HPI Project
Home Page: http://sf.net/projects/openhpi

===== Makefile 1.427 vs edited =====
--- 1.427/Makefile Tue Sep 9 03:45:42 2003
+++ edited/Makefile Fri Sep 19 13:53:59 2003
@@ -672,7 +672,7 @@
.menuconfig.log \
include/asm \
.hdepend include/linux/modversions.h \
- tags TAGS cscope kernel.spec \
+ tags TAGS cscope.out cscope.files kernel.spec \
.tmp*

# Directories removed with 'make mrproper'
@@ -731,7 +731,7 @@
endef

quiet_cmd_cscope = MAKE $@
-cmd_cscope = $(all-sources) | cscope -k -b -i -
+cmd_cscope = $(all-sources) > cscope.files ; cscope -k -b

quiet_cmd_TAGS = MAKE $@
cmd_TAGS = $(all-sources) | etags -


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