# New Ticket Created by Matt Kraai # Please include the string: [perl #51784] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=51784 >
Howdy, The attached patch adds a target to build a TAGS file for emacs. It's not as featureful as the tags file for vi because I haven't modified addopstags.pl, but it is helpful. -- Matt
diff --git a/config/gen/makefiles/root.in b/config/gen/makefiles/root.in index bb85014..486d6e4 100644 --- a/config/gen/makefiles/root.in +++ b/config/gen/makefiles/root.in @@ -2151,6 +2151,21 @@ $(LIBNCI_TEST_SO): $(SRC_DIR)/nci_test$(O) $(LD) $(LD_LOAD_FLAGS) @ncilib_link_extra@ $(LDFLAGS) \ @[EMAIL PROTECTED]@ $(SRC_DIR)/nci_test$(O) $(C_LIBS) +# emacs etags +# this needs exuberant-ctags + +TAGS: TAGS.dummy + $(RM_F) TAGS + @ctags@ -e \ + --links=no --totals \ + -R --exclude=blib --exclude=.svn \ + --exclude=res_lea.c \ + --languages=c,perl --langmap=c:+.h,c:+.pmc,c:+.ops \ + -I NOTNULL,NULLOK,ARGIN,ARGMOD,ARGOUT,ARGINOUT,ARGIN_NULLOK,ARGOUT_NULLOK,ARGMOD_NULLOK \ + $(CUR_DIR) + +TAGS.dummy: + # vim ctags # this needs exuberant-ctags