Commit 74fa8200 authored by Iustin Pop's avatar Iustin Pop

makefile: fix TAGS building

“find .” requires that “-path” arguments start with a dot, otherwise
they are not matches. Additionally, we also include the QA files in the
tags, for easier search while modifying the QA suite.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 91c622a8
......@@ -681,8 +681,9 @@ apidoc: epydoc.conf $(RUN_IN_TEMPDIR) $(BUILT_SOURCES)
.PHONY: TAGS
TAGS: $(BUILT_SOURCES)
rm -f TAGS
find . -path './lib/*.py' -o -path 'scripts/gnt-*' -o \
-path 'daemons/ganeti-*' -o -path 'tools/*' | \
find . -path './lib/*.py' -o -path './scripts/gnt-*' -o \
-path './daemons/ganeti-*' -o -path './tools/*' -o \
-path './qa/*.py' | \
etags -
.PHONY: coverage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment