[commit: ghc] master: Tweak the HADDOCK_DOCS regex in validate (f630970)
Ian Lynagh
igloo at earth.li
Fri Mar 9 02:59:25 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/f630970d457a52df556da3a6579cbb3556029eaf
>---------------------------------------------------------------
commit f630970d457a52df556da3a6579cbb3556029eaf
Author: Ian Lynagh <igloo at earth.li>
Date: Fri Mar 9 00:59:59 2012 +0000
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.
>---------------------------------------------------------------
validate | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/validate b/validate
index f1ec3a1..f2822e8 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
More information about the Cvs-ghc
mailing list