From: Willy Tarreau Date: Sat, 10 Oct 2009 20:20:44 +0000 (+0200) Subject: [BUILD] add a 'make tags' target X-Git-Tag: v1.3.21~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fbfed4748a1505fba0529551f05b86e9867e836;p=thirdparty%2Fhaproxy.git [BUILD] add a 'make tags' target (cherry picked from commit ebe0af4b77bca2042565a3f15fc1f597f5862874) --- diff --git a/Makefile b/Makefile index c068c5cf9d..508c8a3167 100644 --- a/Makefile +++ b/Makefile @@ -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 \