kbuild: escape meta characters in regular expression in make TAGS
authorMasatake YAMATO <yamato@redhat.com>
Wed, 7 May 2008 07:04:31 +0000 (16:04 +0900)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 11 May 2008 08:10:48 +0000 (10:10 +0200)
commita95bcfac2b5f353f99c6a338d77eb5584ab35d83
tree94abc5d4898e8d6f3922d2b8fb7351b354b3610d
parent5bb7ff795fffc9418e3039cac77b42adcaae1a57
kbuild: escape meta characters in regular expression in make TAGS

Alexey Dobriyan <adobriyan@gmail.com> introduced a code adds
menuconfig SOMETHING in Kconfig to tags output when you did "make tags".

See http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=80ff26241623875636674a31c0540a78c0fb5433

"make tags" may work fine with his code. However make TAGS doesn't work well
because etags command requires backslashes to escape meta characters like
`(', `)' and `|'.

Here is a patch.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Makefile