From ebe0af4b77bca2042565a3f15fc1f597f5862874 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 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 14586dcdb..46b762c29 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 \ -- 2.47.3