Change the default stdlib location for Linux packaging (#21328)

* Correctly evaluate the Nim prefix on Posix

* Document new packaging layout
This commit is contained in:
Gabriel Huber 2023-02-12 16:41:27 +01:00 • committed by GitHub
commit 6c15958a83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 12 deletions

View file

@ -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