Commit 13ba87f8 authored by thomie's avatar thomie

Build system: unset HADDOCK when haddock is not found

This prevents the following test errors on Windows:

   perf/haddock haddock.Cabal [[Errno 2] No such file or directory: ...
   perf/haddock haddock.base [[Errno 2] No such file or directory: ...
   perf/haddock haddock.compiler [[Errno 2] No such file or directory: ...

The tests will now be reported as having missing libraries.
parent 15ef5fcb
......@@ -143,8 +143,8 @@ endif
$(eval $(call canonicaliseExecutable,HADDOCK))
ifeq "$(shell test -x '$(HADDOCK)' && echo exists)" ""
# haddock is optional.
HADDOCK :=
# haddock is optional. Use 'override' to override canonicalise's override...
override HADDOCK :=
endif
$(eval $(call canonicaliseExecutable,HSC2HS))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment