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:
parent
2514c26ed8
commit
53e98aeb9c
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue