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

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