more robust hothasktags
Works around bug: https://github.com/luqui/hothasktags/issues/18
This commit is contained in:
parent
2e698ebcd4
commit
a536589422
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -59,7 +59,8 @@ retest: git-annex
|
||||||
|
|
||||||
# hothasktags chokes on some template haskell etc, so ignore errors
|
# hothasktags chokes on some template haskell etc, so ignore errors
|
||||||
tags:
|
tags:
|
||||||
find . | grep -v /.git/ | grep -v /tmp/ | grep -v /dist/ | grep -v /doc/ | egrep '\.hs$$' | xargs hothasktags > tags 2>/dev/null
|
grep -v '/\*' dist/build/autogen/cabal_macros.h > dist/build/autogen/cabal_macros.h.munged
|
||||||
|
(for f in $$(find . | grep -v /.git/ | grep -v /tmp/ | grep -v /dist/ | grep -v /doc/ | egrep '\.hs$$'); do hothasktags -c --include=dist/build/autogen/cabal_macros.h.munged $$f; done) > tags 2>/dev/null
|
||||||
|
|
||||||
# If ikiwiki is available, build static html docs suitable for being
|
# If ikiwiki is available, build static html docs suitable for being
|
||||||
# shipped in the software package.
|
# shipped in the software package.
|
||||||
|
|
Loading…
Reference in a new issue