etags: force Python as a language
authorIustin Pop <iustin@google.com>
Thu, 19 Aug 2010 11:41:04 +0000 (13:41 +0200)
committerIustin Pop <iustin@google.com>
Thu, 19 Aug 2010 12:10:40 +0000 (14:10 +0200)
etags has cannot properly identify the scripts/gnt-* files as Python, so
we statically force the language to Python.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>

Makefile.am

index f1eba2d..859339c 100644 (file)
@@ -684,7 +684,7 @@ TAGS: $(BUILT_SOURCES)
        find . -path './lib/*.py' -o -path './scripts/gnt-*' -o \
          -path './daemons/ganeti-*' -o -path './tools/*' -o \
          -path './qa/*.py' | \
-         etags -
+         etags -l python -
 
 .PHONY: coverage
 coverage: $(BUILT_SOURCES) $(python_tests)