From 377627c4bd8666171db6f9424d3edd18bf968918 Mon Sep 17 00:00:00 2001 From: eeb Date: Fri, 2 Oct 2009 12:53:31 +0000 Subject: [PATCH] * Added make target (mkid) to build idutils database * Change cscope/ctags/etags targets to skip ldiskfs/linux-stage directory to avoid duplicate symbol matches. --- .cvsignore | 1 + build/autoMakefile.am.toplevel | 14 +++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index 6ceece6..4a0f8c1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -15,6 +15,7 @@ tags TAGS lustre*.tar.gz cscope.* +ID autom4te-2.53.cache autom4te.cache depcomp diff --git a/build/autoMakefile.am.toplevel b/build/autoMakefile.am.toplevel index 873911b..4ec9b6b 100644 --- a/build/autoMakefile.am.toplevel +++ b/build/autoMakefile.am.toplevel @@ -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.% -- 1.8.3.1