From 1fbfed4748a1505fba0529551f05b86e9867e836 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sat, 10 Oct 2009 22:20:44 +0200 Subject: [PATCH] [BUILD] add a 'make tags' target (cherry picked from commit ebe0af4b77bca2042565a3f15fc1f597f5862874) --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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 \