summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess2014-05-29 14:29:34 -0400
committerJoey Hess2014-05-29 14:29:34 -0400
commit2b77ee8e106abd5fbcaf8d5cd4719057a8d28a67 (patch)
treec1a3620607a70a8912ade76a024ab47fb11bbba2 /Makefile
parented6457f7fb381e47426a023ef4e0c474bdab4b6b (diff)
parentead04c65e06ed47a175624922582a33082585f6d (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fba684d9..2f339a89 100644
--- a/Makefile
+++ b/Makefile
@@ -30,8 +30,10 @@ clean:
find -name \*.hi -exec rm {} \;
# hothasktags chokes on some template haskell etc, so ignore errors
+# duplicate tags with Propellor.Property. removed from the start, as we
+# often import qualified by just the module base name.
tags:
- find . | grep -v /.git/ | grep -v /tmp/ | grep -v /dist/ | grep -v /doc/ | egrep '\.hs$$' | xargs hothasktags > tags 2>/dev/null
+ find . | grep -v /.git/ | grep -v /tmp/ | grep -v /dist/ | grep -v /doc/ | egrep '\.hs$$' | xargs hothasktags | perl -ne 'print; s/Propellor\.Property\.//; print' | sort > tags 2>/dev/null
# Upload to hackage.
hackage: