summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-07-01 15:11:47 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-07-01 15:11:47 -0400
commit40f418929856d8005d1f8180ad6fdcc9ba4bea20 (patch)
treec199541175883c72e51fc9be304bb71f478e4108 /Makefile
parent98b4c3851fae0e2440443042b90c1ca57b6709db (diff)
better way to generate tags
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2c76dcd70..5c47e9486 100644
--- a/Makefile
+++ b/Makefile
@@ -59,8 +59,7 @@ retest: git-annex
# hothasktags chokes on some template haskell etc, so ignore errors
tags:
- 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) 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 -c --cpp -c -traditional -c --include=dist/build/autogen/cabal_macros.h $$f; done) 2>/dev/null | sort > tags
# If ikiwiki is available, build static html docs suitable for being
# shipped in the software package.