From 38ce6d5496e234ebaa0ad10c6c72ed7dad9f6a35 Mon Sep 17 00:00:00 2001
From: David Waern <david.waern@gmail.com>
Date: Fri, 30 Sep 2011 23:45:07 +0200
Subject: [PATCH] Fix problem with test files not added to distribution tarball

---
 haddock.cabal | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/haddock.cabal b/haddock.cabal
index 9057dcbb23..e767e39755 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -48,6 +48,9 @@ extra-source-files:
   haddock.spec
   haskell.vim
   src/haddock.sh
+-- The test files shouldn't have to go here, but the source files for
+-- the test-suite stanzas don't get picked up by `cabal sdist`.
+  tests/html-tests/runtests.hs
 
 data-files:
   html/frames.html
-- 
GitLab