document tags vs TAGS
ridiculous that these editors use such similar names and different file formats (actually, if you force vim to read TAGS, it seems able to parse it, but I can't find much documentation about that)
This commit is contained in:
parent
ac347f82cc
commit
f407df11b4
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -101,10 +101,12 @@ retest: git-annex
|
|||
# https://github.com/luqui/hothasktags/issues/18
|
||||
HOTHASKTAGS_ARGS=-XLambdaCase -XPackageImports -c --cpp -c -traditional -c --include=dist/build/git-annex/autogen/cabal_macros.h
|
||||
|
||||
# tags file for vim
|
||||
# hothasktags chokes on some template haskell etc, so ignore errors
|
||||
tags:
|
||||
(for f in $$(find . | grep -v /.git/ | grep -v /tmp/ | grep -v /dist/ | grep -v /doc/ | egrep '\.hs$$'); do hothasktags ${HOTHASKTAGS_ARGS} $$f; done) 2>/dev/null | sort > tags
|
||||
|
||||
# TAGS file for emacs
|
||||
TAGS:
|
||||
(for f in $$(find . | grep -v /.git/ | grep -v /tmp/ | grep -v /dist/ | grep -v /doc/ | egrep '\.hs$$'); do hothasktags ${HOTHASKTAGS_ARGS} -e $$f; done) 2>/dev/null > TAGS
|
||||
|
||||
|
|
Loading…
Reference in a new issue