summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess2014-05-19 11:10:05 -0400
committerJoey Hess2014-05-19 11:10:05 -0400
commit02783c8290d71fdf754228222beceffb26281641 (patch)
treed5b0091527ae7814929f544e246850e9419ddaf9 /Makefile
parent533ac36412d6366f536f8817ade7fd78fa84cbd7 (diff)
tags workaround
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fba684d9..1956e9dc 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' > tags 2>/dev/null
# Upload to hackage.
hackage: