From 53e98aeb9cdaac8d2d16c012d6a65cab0146ac6d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 12 Feb 2019 22:02:11 -0400 Subject: [PATCH] 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 79523e6b7f..7be8053fec 100644 --- a/Makefile +++ b/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