From 9e941f745dedd9b14ccfb458237a8fb1ba71d191 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 29 Jan 2013 22:26:18 +1100 Subject: [PATCH] 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. --- .gitignore | 1 + Makefile | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index eb4a997c56..e4cb433833 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ cabal-dev # OSX related .DS_Store .virthualenv +tags diff --git a/Makefile b/Makefile index 41ebc7dc68..cb0becfe39 100644 --- a/Makefile +++ b/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