mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Add cscope Makefile target
For those who prefer cscope to etags Thanks to Toke Hoiland-Jorgensen for the patch.
This commit is contained in:
parent
5ce7adfcf9
commit
d5144ea9bf
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,3 +12,4 @@
|
|||||||
/configure
|
/configure
|
||||||
/sysdep/autoconf.h.in
|
/sysdep/autoconf.h.in
|
||||||
/sysdep/autoconf.h.in~
|
/sysdep/autoconf.h.in~
|
||||||
|
/cscope.*
|
||||||
|
@ -58,7 +58,7 @@ endif
|
|||||||
docgoals := docs userdocs progdocs
|
docgoals := docs userdocs progdocs
|
||||||
testgoals := check test tests tests_run
|
testgoals := check test tests tests_run
|
||||||
cleangoals := clean distclean testsclean
|
cleangoals := clean distclean testsclean
|
||||||
.PHONY: all daemon cli $(docgoals) $(testgoals) $(cleangoals) tags
|
.PHONY: all daemon cli $(docgoals) $(testgoals) $(cleangoals) tags cscope
|
||||||
all: daemon cli
|
all: daemon cli
|
||||||
|
|
||||||
daemon: $(daemon)
|
daemon: $(daemon)
|
||||||
@ -162,6 +162,9 @@ endif
|
|||||||
tags:
|
tags:
|
||||||
cd $(srcdir) ; etags -lc `find $(dirs) -name *.[chY]`
|
cd $(srcdir) ; etags -lc `find $(dirs) -name *.[chY]`
|
||||||
|
|
||||||
|
cscope:
|
||||||
|
cd $(srcdir) ; find $(dirs) -name *.[chY] > cscope.files ; cscope -b
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
|
Loading…
Reference in New Issue
Block a user