add ctags generation
I need to clean up the path to hasktags. Ideally by packaging it in Debian. Not using ghci's own tags generation because it falls over on pre-compiled files.
This commit is contained in:
parent
81d80ef47b
commit
9e941f745d
2 changed files with 6 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -22,3 +22,4 @@ cabal-dev
|
|||
# OSX related
|
||||
.DS_Store
|
||||
.virthualenv
|
||||
tags
|
||||
|
|
7
Makefile
7
Makefile
|
@ -120,6 +120,9 @@ testcoverage:
|
|||
@hpc markup test --exclude=Main --exclude=QC --destdir=.hpc >/dev/null
|
||||
@echo "(See .hpc/ for test coverage details.)"
|
||||
|
||||
tags:
|
||||
~/.cabal/bin/hasktags .
|
||||
|
||||
# If ikiwiki is available, build static html docs suitable for being
|
||||
# shipped in the software package.
|
||||
ifeq ($(shell which ikiwiki),)
|
||||
|
@ -139,7 +142,7 @@ docs: $(mans)
|
|||
|
||||
clean:
|
||||
rm -rf $(GIT_ANNEX_TMP_BUILD_DIR) $(bins) $(mans) test configure *.tix .hpc $(sources) \
|
||||
doc/.ikiwiki html dist $(clibs) build-stamp
|
||||
doc/.ikiwiki html dist $(clibs) build-stamp tags
|
||||
|
||||
sdist: clean $(mans)
|
||||
./Build/make-sdist.sh
|
||||
|
@ -216,4 +219,4 @@ osxapp:
|
|||
getflags:
|
||||
@echo $(ALLFLAGS) $(clibs)
|
||||
|
||||
.PHONY: $(bins) test install
|
||||
.PHONY: $(bins) test install tags
|
||||
|
|
Loading…
Reference in a new issue