diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-10-02 15:55:53 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-10-02 15:56:30 -0400 |
commit | 624eb0fca63e49694e93df37a616d2162b8ded13 (patch) | |
tree | daa78ee52c4f9dbcb5ac96ab6e866d0696a63be1 | |
parent | 8924224ecfa065ebc67b96a90d01cf9d2edd0e77 (diff) | |
download | haskell-wip/create-stats-dir.tar.gz |
rules/haddock: Ensure that RTS stats directory existswip/create-stats-dir
It may not exist if the source tarball was extracted yet not the
testsuite tarball.
-rw-r--r-- | rules/haddock.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/haddock.mk b/rules/haddock.mk index a0e4f1724a..e624e4afb1 100644 --- a/rules/haddock.mk +++ b/rules/haddock.mk @@ -58,6 +58,8 @@ $$($$($1_PACKAGE)-$$($1_$2_VERSION)_HADDOCK_FILE) : $$$$(haddock_INPLACE) $$$$(g ifeq "$$(HSCOLOUR_SRCS)" "YES" "$$(ghc-cabal_INPLACE)" hscolour $1 $2 endif + # 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)" \ |