diff options
author | Joey Hess <joey@kitenet.net> | 2014-06-30 18:15:46 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-06-30 18:15:46 -0400 |
commit | 3be05292ca3e8f574355dd2bd9a2aa786f2cf3e2 (patch) | |
tree | 3f014afee983063bc6edf1b60bad973c6c946de9 /Makefile | |
parent | c8ad8bb11f14673763a5456f470eebf06c5fbb15 (diff) |
more robust hothasktags
Works around bug: https://github.com/luqui/hothasktags/issues/18
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -59,7 +59,8 @@ retest: git-annex # hothasktags chokes on some template haskell etc, so ignore errors 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 # shipped in the software package. |