Dear P.O., On 12.10.2021 17:23, P.O. Jonsson wrote: > your latest change made Unix/Linux diverge from what is currently installed > for macOS/Darwin :-(: > > On macOS the samples are still in installed to > > /Applications/ooRexx5/share/ooRexx > > and the native samples to the subfolder > > /Applications/ooRexx5/share/ooRexx/native.api > > The documentation is placed at > > /Applications/ooRexx5/Documentation > > Which is much easier for the user to find than > > /Applications/ooRexx5/share/ooRexx/doc > > In ooRexx on macOS all you have to do to find the documentation is to unfold > the ooRexx main > folder. To navigate to a subfolder 3 levels down is "surprising" in my > opinion. > > Should the macOS installation be amended, and to what extent? The folder > structure for the samples > is what comes out of CMake, I did not change anything there.
On Unix/Linux systems there is no standard "/Application" folder where applications get installed to like there is on the Mac. On Linux it seems that applications tend to be /usr/[local/]bin, /usr/[local/]lib and /usr/[local/]share, where "share" serves as root for e.g. "man" (man pages), but also for other things. Applications that have samples and/or docs would than install to /usr/[local/]share/APPNAME and use that as root for samples, documentations etc. To organize the different kind of files (samples, documentation) to keep them separate is the purpose of having a "samples" and a "doc" directory in "share/ooRexx", hence my question yesterday. The installation location can be relocated (e.g. "make DESTDIR=~/oorexx" to install into the home directory) but would have the layout "~/oorexx/usr/local/...", with other words has the same layout as for installing to /usr[/local]. There are applications that install to /opt/APPNAME and then link or copy their files to /usr/[local/] ... --- Ad Apple: it would be possible to define the Apple locations the way you have them set up. --- Maybe others on the list who have much more experience with installations on Unix systems could step forward and share their experience, thoughts and could give advice. ---rony
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel