summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton2015-12-28 16:52:11 +0000
committerJoey Hess2015-12-28 14:33:07 -0400
commit0f720362b1c18a3824e52961e9f825d8b8cb33db (patch)
treee9538f6968076bf5037012dae57d72d2e429fa22
parent97447cf9d1202d023a2ac2d3cc693dacfc266e2f (diff)
Makefile: move redirection to silence xargs
When hothasktags not installed. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name> (cherry picked from commit a23c8b42b3e901da05e5de26ba9a2a4207d839f2)
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8b713878..733e718c 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,7 @@ clean:
# 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 | perl -ne 'print; s/Propellor\.Property\.//; print' | sort > tags 2>/dev/null || true
+ find . | grep -v /.git/ | grep -v /tmp/ | grep -v /dist/ | grep -v /doc/ | egrep '\.hs$$' | xargs hothasktags 2>/dev/null | perl -ne 'print; s/Propellor\.Property\.//; print' | sort > tags || true
dist/setup-config: propellor.cabal
@if [ "$(CABAL)" = ./Setup ]; then ghc --make Setup; fi