summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-01-29 22:26:18 +1100
committerGravatar Joey Hess <joey@kitenet.net>2013-01-29 22:35:10 +1100
commitec97e5a7fb9f1cb3a53383012a7258c33aba60f6 (patch)
tree33997a91ae768c90058c5de23677b17f9bdb506c /Makefile
parent0187eeda2cd6eca3ebfcbb11dac551e7e6c60325 (diff)
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 41ebc7dc6..cb0becfe3 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