janet-lang / jpm

Janet Project Manager
MIT License
70 stars 22 forks source link

bootstrap on windows: manuals are copied to /usr/local/share/man/man1 which is an illegal path #46

Closed kamisori closed 2 years ago

kamisori commented 2 years ago

maybe nonexisting/illegal paths could be fixed by the user interactively

or perhaps in case (= (os/which) :windows) manpages could be copied into a janet subfolder like the Library, docs, C, bin folders

arogovets commented 2 years ago

As an option, it may be fixed by adding env variable JANET_MANPATH value (path to /docs folder where Janet is installed) manually or with Janet msi All other paths are generated with these like variables

bakpakin commented 2 years ago

Janet 1.22.0 now should set JANET_MANPATH in the installer, closing.