From 2ad79aaa1b87164a0191e8f980f57a9fa0b80e0a Mon Sep 17 00:00:00 2001
From: Simon Peyton Jones <simonpj@microsoft.com>
Date: Fri, 21 Oct 2011 16:42:04 +0100
Subject: [PATCH] Echo the Haddock command line, to make deugging any crash in
 Haddock easier

---
 libraries/gen_contents_index | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libraries/gen_contents_index b/libraries/gen_contents_index
index 04209fdb8fc..bfdf962bf4d 100644
--- a/libraries/gen_contents_index
+++ b/libraries/gen_contents_index
@@ -36,6 +36,7 @@ case $* in
 esac
 
 # Now create the combined contents and index pages
+echo $HADDOCK_ARGS
 $HADDOCK --gen-index --gen-contents -o . \
          -t "Haskell Hierarchical Libraries" \
          -p "prologue.txt" \
-- 
GitLab