From cf924b6d3f9fd1e1b95cf5cda8a38e077a5de7a9 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Tue, 29 Sep 2009 15:43:25 +0200
Subject: [PATCH] Brown-paper-bag release fixing haddock issues

Haddock doesn't like pre-processed files (at least not in all versions).
Thus we need to remove the ExtLoader module from the haddock-procesed
file list.
---
 Ganeti/HTools/ExtLoader.hs | 2 +-
 Makefile                   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Ganeti/HTools/ExtLoader.hs b/Ganeti/HTools/ExtLoader.hs
index 896400756..0f5a71644 100644
--- a/Ganeti/HTools/ExtLoader.hs
+++ b/Ganeti/HTools/ExtLoader.hs
@@ -3,7 +3,7 @@
 {-| External data loader
 
 This module holds the external data loading, and thus is the only one
-depending (via the specialized Text/Rapi/Luxi modules) on the actual
+depending (via the specialized Text\/Rapi\/Luxi modules) on the actual
 libraries implementing the low-level protocols.
 
 -}
diff --git a/Makefile b/Makefile
index 8535e8dbd..69f4fe5f0 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ doc: $(DOCS) Ganeti/HTools/Version.hs
 		-t ganeti-htools -p haddock-prologue \
 		--source-module="%{MODULE/.//}.html" \
 		--source-entity="%{MODULE/.//}.html#%{NAME}" \
-		$(HSRCS)
+		$(filter-out Ganeti/HTools/ExtLoader.hs,$(HSRCS))
 
 maintainer-clean:
 	rm -rf $(HDDIR)
-- 
GitLab