2014-03-30 03:10:52 +00:00
|
|
|
build:
|
|
|
|
# ghc --make
|
2014-03-30 03:45:48 +00:00
|
|
|
$(MAKE) tags
|
2014-03-30 03:10:52 +00:00
|
|
|
|
|
|
|
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
|