diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-02-13 17:00:24 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-02-13 17:00:24 +0100 |
commit | d5144ea9bf01f0b19cba40ab06aa05a11d70aa3e (patch) | |
tree | a2031ea7b73d4eaaac7dddf98745453b6eba2fe5 /Makefile.in | |
parent | 5ce7adfcf96787878d60668cf33acf7349a69c0b (diff) |
Add cscope Makefile target
For those who prefer cscope to etags
Thanks to Toke Hoiland-Jorgensen for the patch.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index fdd5e6c7..c8168bbe 100644 --- a/Makefile.in +++ b/Makefile.in @@ -58,7 +58,7 @@ endif docgoals := docs userdocs progdocs testgoals := check test tests tests_run cleangoals := clean distclean testsclean -.PHONY: all daemon cli $(docgoals) $(testgoals) $(cleangoals) tags +.PHONY: all daemon cli $(docgoals) $(testgoals) $(cleangoals) tags cscope all: daemon cli daemon: $(daemon) @@ -162,6 +162,9 @@ endif tags: cd $(srcdir) ; etags -lc `find $(dirs) -name *.[chY]` +cscope: + cd $(srcdir) ; find $(dirs) -name *.[chY] > cscope.files ; cscope -b + # Install install: all |