$(RM) $(top_srcdir)/TAGS
ETAGSF=`etags --version | grep -iq exuberant && \
echo "-I __initdata,__exitdata,EXPORT_SYMBOL"`; \
- find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' |xargs etags $$ETAGSF -a
+ find $(top_srcdir) -name '*.[hc]'|grep -v "\.pc"|xargs etags $$ETAGSF -a
ctags:
$(RM) $(top_srcdir)/tags
CTAGSF=`ctags --version | grep -iq exuberant && \
echo "-I __initdata,__exitdata,EXPORT_SYMBOL"`; \
- find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' |xargs ctags $$CTAGSF -a
+ find $(top_srcdir) -name '*.[hc]'|grep -v "\.pc"|xargs ctags $$CTAGSF -a
cscope-recursive:
cscope:
$(RM) $(top_srcdir)/cscope*.out $(top_srcdir)/cscope.files
- find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' > cscope.files
+ find $(top_srcdir) -name '*.[hc]' | grep -v "\.pc" > cscope.files
cscope -bRq
if MODULES