MINOR: Makefile: provide cscope rule

"make cscope" builds tags for cscope.
This commit is contained in:
William Lallemand 2013-10-18 16:26:39 +02:00 committed by Willy Tarreau
parent 9ca6936c80
commit 9e5cc8d63a
1 changed files with 3 additions and 0 deletions

View File

@ -717,6 +717,9 @@ tags:
find src include \( -name '*.c' -o -name '*.h' \) -print0 | \
xargs -0 etags --declarations --members
cscope:
find src include -name "*.[ch]" -print | cscope -q -b -i -
tar: clean
ln -s . haproxy-$(VERSION)
tar --exclude=haproxy-$(VERSION)/.git \