From 3a9cb6b23be64d46838444814874491267615310 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 1 Jul 2014 15:11:47 -0400 Subject: [PATCH] better way to generate tags --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2c76dcd70f..5c47e94866 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.