2005-12-26 12:58:15

by Samuel Thibault

[permalink] [raw]
Subject: [PATCH] tags file generation fixup

Hi,

Here is a fixup for tags file generation, for proper tags of
__releases/__acquires functions.

Regards,
Samuel

Signed-off-by: [email protected]

--- Makefile.orig 2005-12-26 02:43:06.000000000 +0100
+++ Makefile 2005-12-26 02:43:46.000000000 +0100
@@ -1227,7 +1227,7 @@
quiet_cmd_TAGS = MAKE $@
define cmd_TAGS
rm -f $@; \
- ETAGSF=`etags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f"`; \
+ ETAGSF=`etags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,__acquires,__releases,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f"`; \
$(all-sources) | xargs etags $$ETAGSF -a
endef

@@ -1238,7 +1238,7 @@
quiet_cmd_tags = MAKE $@
define cmd_tags
rm -f $@; \
- CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f"`; \
+ CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,__acquires,__releases,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f"`; \
$(all-sources) | xargs ctags $$CTAGSF -a
endef


2005-12-26 23:51:28

by Sam Ravnborg

[permalink] [raw]
Subject: Re: [PATCH] tags file generation fixup

On Mon, Dec 26, 2005 at 02:47:18AM +0100, Samuel Thibault wrote:
> Hi,
>
> Here is a fixup for tags file generation, for proper tags of
> __releases/__acquires functions.

Applied,

Sam