]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUILD] 'make tags' did not consider files ending in '.c'
authorWilly Tarreau <w@1wt.eu>
Mon, 29 Mar 2010 07:35:20 +0000 (09:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 29 Mar 2010 07:35:20 +0000 (09:35 +0200)
A missing parenthesis made the output of find apply only to files
'.h' making the tags useless.

Makefile

index 4c133558210d60e0553476eff9195385dafa03b2..1071c858084bbb5e0d84dbc0c652b070ca4d3bd3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -543,7 +543,7 @@ clean:
        rm -f haproxy-$(VERSION) nohup.out gmon.out
 
 tags:
-       find src include -name '*.c' -o -name '*.h' -print0 | \
+       find src include \( -name '*.c' -o -name '*.h' \) -print0 | \
           xargs -0 etags --declarations --members
 
 tar:   clean