[BUILD] add a 'make tags' target
(cherry picked from commit ebe0af4b77
)
This commit is contained in:
parent
22c0257059
commit
1fbfed4748
4
Makefile
4
Makefile
|
@ -513,6 +513,10 @@ clean:
|
||||||
rm -f haproxy-$(VERSION).tar.gz haproxy-$(VERSION)$(SUBVERS).tar.gz
|
rm -f haproxy-$(VERSION).tar.gz haproxy-$(VERSION)$(SUBVERS).tar.gz
|
||||||
rm -f haproxy-$(VERSION) nohup.out gmon.out
|
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
|
tar: clean
|
||||||
ln -s . haproxy-$(VERSION)
|
ln -s . haproxy-$(VERSION)
|
||||||
tar --exclude=haproxy-$(VERSION)/.git \
|
tar --exclude=haproxy-$(VERSION)/.git \
|
||||||
|
|
Loading…
Reference in New Issue