summaryrefslogtreecommitdiff
path: root/Makefile
blob: f0e91106da18723d3023830b7f47f7bfc3857550 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
build: dist/setup-config
	cabal build
	$(MAKE) tags

dist/setup-config:
	cabal configure

clean:
	rm -rf dist Setup tags
	find -name \*.o -exec rm {} \;
	find -name \*.hi -exec rm {} \;

# hothasktags chokes on some template haskell etc, so ignore errors
tags:
	find . | grep -v /.git/ | grep -v /tmp/ | grep -v /dist/ | grep -v /doc/ | egrep '\.hs$$' | xargs hothasktags > tags 2>/dev/null