[BUILD] add a 'make tags' target

This commit is contained in:
Willy Tarreau 2009-10-10 22:20:44 +02:00
parent f7089f5852
commit ebe0af4b77
1 changed files with 4 additions and 0 deletions

View File

@ -509,6 +509,10 @@ clean:
rm -f haproxy-$(VERSION).tar.gz haproxy-$(VERSION)$(SUBVERS).tar.gz rm -f haproxy-$(VERSION).tar.gz haproxy-$(VERSION)$(SUBVERS).tar.gz
rm -f haproxy-$(VERSION) nohup.out gmon.out 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 tar: clean
ln -s . haproxy-$(VERSION) ln -s . haproxy-$(VERSION)
tar --exclude=haproxy-$(VERSION)/.git \ tar --exclude=haproxy-$(VERSION)/.git \