Skip to content
Snippets Groups Projects
Commit 377627c4 authored by Eric Barton's avatar Eric Barton
Browse files

* Added make target (mkid) to build idutils database

* Change cscope/ctags/etags targets to skip ldiskfs/linux-stage
  directory to avoid duplicate symbol matches.
parent cbc35cf7
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@ tags
TAGS
lustre*.tar.gz
cscope.*
ID
autom4te-2.53.cache
autom4te.cache
depcomp
......
......@@ -3,6 +3,10 @@
AUTOMAKE_OPTIONS = foreign
FIND_TAG_FILES_CMD = find $(top_srcdir) \
-path $(top_srcdir)/ldiskfs/ldiskfs/linux-stage -prune -false -o\
-type f -name '*.[hc]'
# these empty rules are needed so that automake doesn't add its own
# recursive rules
etags-recursive:
......@@ -19,21 +23,25 @@ etags:
$(RM) $(top_srcdir)/TAGS
ETAGSF=`etags --version | grep -iq exuberant && \
echo "-I __initdata,__exitdata,EXPORT_SYMBOL"`; \
find $(top_srcdir) -name '*.[hc]'|grep -v "\.pc"|xargs etags $$ETAGSF -a
$(FIND_TAG_FILES_CMD) | 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 '*.[hc]'|grep -v "\.pc"|xargs ctags $$CTAGSF -a
$(FIND_TAG_FILES_CMD) | xargs ctags $$CTAGSF -a
cscope-recursive:
cscope:
$(RM) $(top_srcdir)/cscope*.out $(top_srcdir)/cscope.files
find $(top_srcdir) -name '*.[hc]' | grep -v "\.pc" > cscope.files
$(FIND_TAG_FILES_CMD) > cscope.files
cscope -bRq
mkid:
$(FIND_TAG_FILES_CMD) | xargs mkid
doxygen: doxygen-api doxygen-ref
doxygen-%: build/doxyfile.%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment