aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Kacur <jkacur@redhat.com>2010-03-15 12:52:51 -0400
committerSteven Rostedt <rostedt@goodmis.org>2010-03-19 09:33:50 -0400
commit05ac58000280fd1fc6d5d9aab91f204274c59797 (patch)
treea2f580724ee4c182f2f65bf87f07ea8c4d090e5f /Makefile
parentbd781592ba291e66d18238dcbfba8b71403dea32 (diff)
build: Makefile, add ctags for (g)vim
Add the ability to make tags for (g)vim. Also, add a section in clean that removes TAGS and tags Signed-off-by: John Kacur <jkacur@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 90b8926..4f35ca0 100644
--- a/Makefile
+++ b/Makefile
@@ -356,7 +356,12 @@ show_gui_done:
356 356
357PHONY += show_gui_make 357PHONY += show_gui_make
358 358
359tags: force
360 $(RM) tags
361 find . -name '*.[ch]' | xargs ctags
362
359TAGS: force 363TAGS: force
364 $(RM) TAGS
360 find . -name '*.[ch]' | xargs etags 365 find . -name '*.[ch]' | xargs etags
361 366
362install_cmd: all_cmd 367install_cmd: all_cmd
@@ -380,6 +385,7 @@ doc_clean:
380 385
381clean: 386clean:
382 $(RM) *.o *~ $(TARGETS) *.a *.so ctracecmd_wrap.c .*.d 387 $(RM) *.o *~ $(TARGETS) *.a *.so ctracecmd_wrap.c .*.d
388 $(RM) tags TAGS
383 389
384 390
385##### PYTHON STUFF ##### 391##### PYTHON STUFF #####