mirror of
https://github.com/simonmichael/hledger.git
synced 2024-10-06 10:57:30 +03:00
;dev: tools: fix make etags
This commit is contained in:
parent
f5c3bbcaf0
commit
400f401d11
13
.ctags
13
.ctags
@ -1,14 +1,9 @@
|
||||
--exclude=.build
|
||||
--exclude=.idea
|
||||
--exclude=.shake
|
||||
--exclude=.stack-work
|
||||
--exclude=.vagrant
|
||||
--exclude=.vscode
|
||||
--exclude=.*
|
||||
--exclude=_*
|
||||
--exclude=bin
|
||||
--exclude=doc/irc
|
||||
--exclude=doc/profs
|
||||
--exclude=dist
|
||||
--exclude=dist*
|
||||
--exclude=examples
|
||||
--exclude=bootstrap*
|
||||
--exclude=excanvas*
|
||||
@ -16,6 +11,6 @@
|
||||
--exclude=jquery*
|
||||
--exclude=typeahead*
|
||||
--exclude=old
|
||||
--exclude=site/doc
|
||||
--exclude=site/files
|
||||
--exclude=site/out*
|
||||
--exclude=site/src/1*
|
||||
--exclude=hledger/test/addons/hledger-*
|
||||
|
20
Makefile
20
Makefile
@ -1102,20 +1102,11 @@ cabalusage: \
|
||||
$(call def-help,cabalusage, show size of cabal working dirs if any )
|
||||
-du -shc */dist* 2>/dev/null
|
||||
|
||||
# Tag haskell files with hasktags and just list the other main source files
|
||||
# so they will be traversed by tags-search/tags-query-replace.
|
||||
# etags:
|
||||
# rm -f TAGS
|
||||
# hasktags -e $(SOURCEFILES)
|
||||
# for f in Makefile $(WEBCODEFILES) $(HPACKFILES) $(CABALFILES) $(DOCSOURCEFILES); do \
|
||||
# printf "\n$$f,1\n" >> TAGS; \
|
||||
# done
|
||||
|
||||
# Tag:
|
||||
# - haskell files, with hasktags
|
||||
# - everything else not excluded by .ctags, with (exuberant) ctags
|
||||
# - files currently missed by the above, just their names (docs, hpack, cabal..)
|
||||
etags:$(call def-help,etags, generate emacs tag files for source code navigation )
|
||||
# Generate an emacs TAGS file. Tag:
|
||||
# 1. haskell source files with hasktags
|
||||
# 2. other source files recognised by (exuberant) ctags and not excluded by .ctags. Keep .ctags up to date.
|
||||
# 3. some extra files missed by the above, as just their file names (for tags-search, tags-query-replace etc.)
|
||||
etags:$(call def-help,etags, generate emacs TAGS file for haskell source and other project files )
|
||||
hasktags -e $(SOURCEFILES)
|
||||
ctags -a -e -R
|
||||
for f in \
|
||||
@ -1125,6 +1116,7 @@ etags:$(call def-help,etags, generate emacs tag files for source code navigation
|
||||
$(CABALFILES) \
|
||||
Shake.hs \
|
||||
; do printf "\n$$f,1\n" >> TAGS; done
|
||||
-etagsls >TAGS.files
|
||||
|
||||
cleantags: \
|
||||
$(call def-help-hide,cleantags, remove tag files )
|
||||
|
Loading…
Reference in New Issue
Block a user