Build system: don't install haddock .t files (#10410)
authorThomas Miedema <thomasmiedema@gmail.com>
Sun, 24 May 2015 16:58:19 +0000 (18:58 +0200)
committerThomas Miedema <thomasmiedema@gmail.com>
Wed, 27 May 2015 15:13:45 +0000 (17:13 +0200)
commit388448bcc2e363d1913b5132a36ac7aaa20eafc0
tree82bc98421070aa20c845523bf7e8b6e400f6e35b
parent71d1f01db94dda5b8c2c367fba8cc7b115b06e95
Build system: don't install haddock .t files (#10410)

When generating a haddock .t file for a library, don't save it in the
`dist-install/doc` directory for that library, as then it gets copied to
the installation directory during `make install` by `ghc-cabal copy`.
Instead, save it a few directories up; putting it next to
`haddock-prologue.txt` seemed appropriate.

Test Plan: run `make` in `tests/perf/haddock`.

Differential Revision: https://phabricator.haskell.org/D903
rules/haddock.mk
testsuite/tests/perf/haddock/all.T