]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUILD] add a 'make tags' target
authorWilly Tarreau <w@1wt.eu>
Sat, 10 Oct 2009 20:20:44 +0000 (22:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 10 Oct 2009 20:20:44 +0000 (22:20 +0200)
Makefile

index 14586dcdb1d92517d7886459a3ecb116da8da2bd..46b762c297a1690d6b4b66e7c1a606f8947e779a 100644 (file)
--- 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 \