Commit 1357d023 authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Marge Bot

rules/haddock: Ensure that RTS stats directory exists

It may not exist if the source tarball was extracted yet not the
testsuite tarball.
parent d0924b15
Pipeline #10898 passed with stages
in 470 minutes
......@@ -58,6 +58,8 @@ $$($$($1_PACKAGE)-$$($1_$2_VERSION)_HADDOCK_FILE) : $$$$(haddock_INPLACE) $$$$(g
ifeq "$$(HSCOLOUR_SRCS)" "YES"
"$$(ghc-cabal_INPLACE)" hscolour $1 $2
# N.B. in a source tree from tarball the testsuite/ directory may not exist
mkdir -p $$(TOP)/testsuite/tests/perf/haddock
"$$(TOP)/$$(INPLACE_BIN)/haddock" \
--verbosity=0 \
--odir="$1/$2/doc/html/$$($1_PACKAGE)" \
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