diff options
| author | John Kacur <jkacur@redhat.com> | 2010-03-15 12:52:51 -0400 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2010-03-19 09:33:50 -0400 |
| commit | 05ac58000280fd1fc6d5d9aab91f204274c59797 (patch) | |
| tree | a2f580724ee4c182f2f65bf87f07ea8c4d090e5f /Makefile | |
| parent | bd781592ba291e66d18238dcbfba8b71403dea32 (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-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -356,7 +356,12 @@ show_gui_done: | |||
| 356 | 356 | ||
| 357 | PHONY += show_gui_make | 357 | PHONY += show_gui_make |
| 358 | 358 | ||
| 359 | tags: force | ||
| 360 | $(RM) tags | ||
| 361 | find . -name '*.[ch]' | xargs ctags | ||
| 362 | |||
| 359 | TAGS: force | 363 | TAGS: force |
| 364 | $(RM) TAGS | ||
| 360 | find . -name '*.[ch]' | xargs etags | 365 | find . -name '*.[ch]' | xargs etags |
| 361 | 366 | ||
| 362 | install_cmd: all_cmd | 367 | install_cmd: all_cmd |
| @@ -380,6 +385,7 @@ doc_clean: | |||
| 380 | 385 | ||
| 381 | clean: | 386 | clean: |
| 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 ##### |
