Put docs in /usr/share/doc/ghc-<version>
authorThomas Miedema <thomasmiedema@gmail.com>
Fri, 29 Jan 2016 19:30:47 +0000 (20:30 +0100)
committerThomas Miedema <thomasmiedema@gmail.com>
Sun, 31 Jan 2016 15:02:14 +0000 (16:02 +0100)
commitb61f5f734d08fe9cdca3ac06560fc15e97aa77ab
tree85a766844cfb8e5b0e6a48073fb5cee7171bcf44
parent2fbf370b953634716d3c0ad7020c29f06fdd68f4
Put docs in /usr/share/doc/ghc-<version>

`make install` puts libraries in a direcory containing the version
number. Do the same for the docs, such that multiple installs can live
side-by-side.

Delete unused ghcdocdir.

Test Plan:
```
./boot
./configure
make show! VALUE=docdir
```

Reviewed by: bgamari

Differential Revision: https://phabricator.haskell.org/D1868

GHC Trac Issues: #11354
mk/install.mk.in