[BUILD] add a 'make tags' target

(cherry picked from commit ebe0af4b77)
This commit is contained in:
Willy Tarreau 2009-10-10 22:20:44 +02:00
parent 22c0257059
commit 1fbfed4748
1 changed files with 4 additions and 0 deletions

View File

@ -513,6 +513,10 @@ clean:
rm -f haproxy-$(VERSION).tar.gz haproxy-$(VERSION)$(SUBVERS).tar.gz
rm -f haproxy-$(VERSION) nohup.out gmon.out
tags:
find src include -name '*.c' -o -name '*.h' -print0 | \
xargs -0 etags --declarations --members
tar: clean
ln -s . haproxy-$(VERSION)
tar --exclude=haproxy-$(VERSION)/.git \