summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-03-09 00:59:59 +0000
committerIan Lynagh <igloo@earth.li>2012-03-09 00:59:59 +0000
commitf630970d457a52df556da3a6579cbb3556029eaf (patch)
treefb008bdaf3a8b0dde20cb3baf15706dfd4f5bf71
parentd6b1050d7e5db5a196a50bf3ad34ce310cb2387e (diff)
downloadhaskell-f630970d457a52df556da3a6579cbb3556029eaf.tar.gz
Tweak the HADDOCK_DOCS regex in validate
It's less precise now, but still good enough for what we need, and this way we don't need to have literal tabs in the file.
-rwxr-xr-xvalidate2
1 files changed, 1 insertions, 1 deletions
diff --git a/validate b/validate
index f1ec3a16b1..f2822e8d50 100755
--- a/validate
+++ b/validate
@@ -117,7 +117,7 @@ if [ $speed != "FAST" ]; then
# This is a hack to make
# HADDOCK_DOCS = NO
# work when validating.
- if grep -q "^HADDOCK_DOCS[ ]*=[ ]*NO[ ]*$" mk/validate.mk
+ if grep -q "^HADDOCK_DOCS.*=.*NO" mk/validate.mk
then
unset WITH_HADDOCK
DO_HADDOCK=NO