generating cscope.files when 'make cscope'
PATCH 1/1 generating cscope.files when 'make cscope'
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.
Signature · 38 lines
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 -