Merge /home/joey/thk_create_emacs_etags.bundle

This commit is contained in:
Joey Hess 2020-05-19 12:49:45 -04:00
commit 43b149849f
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -98,9 +98,16 @@ test: git-annex git-annex-shell
retest: git-annex retest: git-annex
./git-annex test --rerun-update --rerun-filter failures ./git-annex test --rerun-update --rerun-filter failures
# https://github.com/luqui/hothasktags/issues/18
HOTHASKTAGS_ARGS=-XLambdaCase -XPackageImports \
-c --cpp -c -traditional -c --include=dist/build/git-annex/autogen/cabal_macros.h \
# hothasktags chokes on some template haskell etc, so ignore errors # hothasktags chokes on some template haskell etc, so ignore errors
tags: 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 (for f in $$(find . | grep -v /.git/ | grep -v /tmp/ | grep -v /dist/ | grep -v /doc/ | egrep '\.hs$$'); do hothasktags ${HOTHASKTAGS_ARGS} $$f; done) 2>/dev/null | sort > tags
TAGS:
(for f in $$(find . | grep -v /.git/ | grep -v /tmp/ | grep -v /dist/ | grep -v /doc/ | egrep '\.hs$$'); do hothasktags ${HOTHASKTAGS_ARGS} -e $$f; done) 2>/dev/null > TAGS
mans: Build/MakeMans mans: Build/MakeMans
./Build/MakeMans ./Build/MakeMans