From 9ea446d22307078e455b63c2b0c335c5a12013ef Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Wed, 8 Jul 2009 18:25:36 +0200
Subject: [PATCH] Add a 'tags' makefile target

This uses hasktags for building emacs TAGS.
---
 Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 40d0963d0..89f26c30a 100644
--- a/Makefile
+++ b/Makefile
@@ -72,4 +72,7 @@ else
 	hpc report test $(HPCEXCL)
 endif
 
-.PHONY : all doc maintainer-clean clean dist check
+tags:
+	find -name '*.hs' | xargs hasktags -e
+
+.PHONY : all doc maintainer-clean clean dist check tags
-- 
GitLab