Commit 2db53645 authored by Iustin Pop's avatar Iustin Pop

Also compute Haskell tags in "make tags"

Note however that this won't work correctly with older compilers, due
to ghc issue #4256; however, it's a handy way to build complete a TAGS
file for Emacs.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent fce98abd
......@@ -1466,10 +1466,11 @@ hs-apidoc: $(HS_BUILT_SRCS)
.PHONY: TAGS
TAGS: $(BUILT_SOURCES)
rm -f TAGS
$(GHC) -e ":etags" -v0 $(HFLAGS) $(HS_LIB_SRCS)
find . -path './lib/*.py' -o -path './scripts/gnt-*' -o \
-path './daemons/ganeti-*' -o -path './tools/*' -o \
-path './qa/*.py' | \
etags -l python -
etags -l python -a -
.PHONY: coverage
if WANT_HTOOLS
......
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