Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/f630970d457a52df556da3a6579cbb3556029eaf

>---------------------------------------------------------------

commit f630970d457a52df556da3a6579cbb3556029eaf
Author: Ian Lynagh <[email protected]>
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



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to