Commit 3807b959 authored by Leonid Onokhov's avatar Leonid Onokhov

Rework install paths table in docs

Now unix and windows paths switched columns.
Windows paths use %APPDATA% and %PROGRAMFILES% env vars.

[ci skip]
parent 3d2be8ae
......@@ -747,44 +747,44 @@ For the simple build system, the following defaults apply:
.. list-table:: Default installation paths
* - Option
- Windows Default
- Unix Default
- Windows Default
* - :option:`--prefix` (global)
- ``C:\Program Files\Haskell``
- ``/usr/local``
- ``%PROGRAMFILES%\Haskell``
* - :option:`--prefix` (per-user)
- ``C:\Documents And Settings\user\Application Data\cabal``
- ``$HOME/.cabal``
- ``%APPDATA%\cabal``
* - :option:`--bindir`
- ``$prefix\bin``
- ``$prefix/bin``
- ``$prefix\bin``
* - :option:`--libdir`
- ``$prefix``
- ``$prefix/lib``
- ``$prefix``
* - :option:`--libsubdir` (others)
- ``$pkgid\$compiler``
- ``$pkgid/$compiler``
- ``$pkgid\$compiler``
* - :option:`--libexecdir`
- ``$prefix\$pkgid``
- ``$prefix/libexec``
- ``$prefix\$pkgid``
* - :option:`--datadir` (executable)
- ``$prefix``
- ``$prefix/share``
- ``$prefix``
* - :option:`--datadir` (library)
- ``C:\Program Files\Haskell``
- ``$prefix/share``
- ``%PROGRAMFILES%\Haskell``
* - :option:`--datasubdir`
- ``$pkgid``
- ``$pkgid``
* - :option:`--docdir`
- ``$prefix\doc\$pkgid``
- ``$datadir/doc/$pkgid``
- ``$prefix\doc\$pkgid``
* - :option:`--sysconfdir`
- ``$prefix\etc``
- ``$prefix/etc``
- ``$prefix\etc``
* - :option:`--htmldir`
- ``$docdir\html``
- ``$docdir/html``
- ``$docdir\html``
* - :option:`--program-prefix`
- (empty)
- (empty)
......
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