diff options
author | Edward Z. Yang <ezyang@cs.stanford.edu> | 2016-10-06 16:20:24 -0700 |
---|---|---|
committer | Edward Z. Yang <ezyang@cs.stanford.edu> | 2016-10-08 00:20:34 -0700 |
commit | 887485a45ae55e81b26b6412b6f9dcf6a497f044 (patch) | |
tree | 84c10f5d4360fcf4cf4266125eefd7e6c5c8fed7 /libraries/gen_contents_index | |
parent | 940ded858157173e75504e8cb0750f059ffd48b9 (diff) | |
download | haskell-887485a45ae55e81b26b6412b6f9dcf6a497f044.tar.gz |
Exclude Cabal PackageTests from gen_contents_index.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Diffstat (limited to 'libraries/gen_contents_index')
-rw-r--r-- | libraries/gen_contents_index | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/gen_contents_index b/libraries/gen_contents_index index 27fa3c73df..29be2e13f9 100644 --- a/libraries/gen_contents_index +++ b/libraries/gen_contents_index @@ -33,7 +33,8 @@ then cd dist-haddock HADDOCK=../../inplace/bin/haddock - HADDOCK_FILES=`find ../ -name *.haddock | sort` + # Exclude Cabal package-tests, which may run haddock + HADDOCK_FILES=`find ../ -name *.haddock | grep -v 'PackageTests' | sort` HADDOCK_ARGS="-p ../prologue.txt" for HADDOCK_FILE in $HADDOCK_FILES do |