diff options
author | Gabriel Huber <mail@gabrielhuber.at> | 2023-02-12 16:41:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-12 16:41:27 +0100 |
commit | 6c15958a835b645f3acdc3d1d012b10d0df43454 (patch) | |
tree | 9d0459ea6e0ddcc99df5d9e9133f582a0419cecc /doc | |
parent | 642136ec4f2cd93cdd753bf16fa4aec89b8fee82 (diff) | |
download | Nim-6c15958a835b645f3acdc3d1d012b10d0df43454.tar.gz |
Change the default stdlib location for Linux packaging (#21328)
* Correctly evaluate the Nim prefix on Posix * Document new packaging layout
Diffstat (limited to 'doc')
-rw-r--r-- | doc/packaging.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/packaging.md b/doc/packaging.md index 9a1cc0f6e..522ca6d44 100644 --- a/doc/packaging.md +++ b/doc/packaging.md @@ -69,8 +69,11 @@ Hints on the build process: What to install: -- The expected stdlib location is /usr/lib/nim -- Global configuration files under /etc/nim +- The expected stdlib location is `/usr/lib/nim/lib`, previously it was just `/usr/lib/nim` +- `nimdoc.css` and `nimdoc.cls` from the `doc` folder should go into `/usr/lib/nim/doc/` +- `tools/nim-gdb.py` should go into `/usr/lib/nim/tools/` +- `tools/dochack/dochack.js` should be installed to `/usr/lib/nim/tools/dochack/` +- Global configuration files under `/etc/nim` - Optionally: manpages, documentation, shell completion - When installing documentation, .idx files are not required - The "compiler" directory contains compiler sources and should not be part of the compiler binary package |