fix tags generation

The location of the cabal_macros.h file has changed. Also, need to
tell hothasktags about language extensions that are enabled by default
in the cabal file.

This commit was sponsored by Thomas May.
This commit is contained in:
Joey Hess 2019-02-12 22:02:11 -04:00
parent 2514c26ed8
commit 53e98aeb9c
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -82,7 +82,7 @@ retest: git-annex
# 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 -c --cpp -c -traditional -c --include=dist/build/autogen/cabal_macros.h $$f; done) 2>/dev/null | sort > tags
(for f in $$(find . | grep -v /.git/ | grep -v /tmp/ | grep -v /dist/ | grep -v /doc/ | egrep '\.hs$$'); do hothasktags -XLambdaCase -XPackageImports -c --cpp -c -traditional -c --include=dist/build/git-annex/autogen/cabal_macros.h $$f; done) 2>/dev/null | sort > tags
mans: Build/MakeMans
./Build/MakeMans