[BUILD] 'make tags' did not consider files ending in '.c'

A missing parenthesis made the output of find apply only to files
'.h' making the tags useless.
This commit is contained in:
Willy Tarreau 2010-03-29 09:35:20 +02:00
parent 4554bc189d
commit 42d2c6c1be

View File

@ -543,7 +543,7 @@ clean:
rm -f haproxy-$(VERSION) nohup.out gmon.out rm -f haproxy-$(VERSION) nohup.out gmon.out
tags: tags:
find src include -name '*.c' -o -name '*.h' -print0 | \ find src include \( -name '*.c' -o -name '*.h' \) -print0 | \
xargs -0 etags --declarations --members xargs -0 etags --declarations --members
tar: clean tar: clean