From: Willy Tarreau Date: Sat, 10 Oct 2009 20:20:44 +0000 (+0200) Subject: [BUILD] add a 'make tags' target X-Git-Tag: v1.4-dev4~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ebe0af4b77bca2042565a3f15fc1f597f5862874;p=thirdparty%2Fhaproxy.git [BUILD] add a 'make tags' target --- diff --git a/Makefile b/Makefile index 14586dcdb1..46b762c297 100644 --- a/Makefile +++ b/Makefile @@ -509,6 +509,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 \