]> 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>
Mon, 12 Oct 2009 04:13:36 +0000 (06:13 +0200)
(cherry picked from commit ebe0af4b77bca2042565a3f15fc1f597f5862874)

Makefile

index c068c5cf9d20d402f6940c2b4dd12d8866e2d35a..508c8a31679d3b1b15ae0e63179a3550bb1394c7 100644 (file)
--- 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 \