> On 7 Apr 2020, at 01:40, Mark Hessling <m...@rexx.org> wrote:
> 
> With the relocatable executables that ooRexx has, how do man pages get 
> swapped?


For the man pages of an executable the search is automatic 
if the installation follows the standard layout according to the settings 
defined  in

include( GNUInstallDirs )
( which by the way solves the lib/lib64 conundrum)

Man looks for the executable and then it backtracks to the man directory 
according to the standard Gnu layout

Even without a relocatable installation there is no need to update the man path 
And the ooRexx installation does not do anything about it

I usually install to /opt/ooRexx and it is automatic 
And when I switch the executable path everything follows
Tested on Darwin, Fedora, CentOs, FreeBSD

> While the concept of relocatable executables is a great idea for switching 
> between different versions of ooRexx, how does it work when I want to switch 
> between ooRexx and Regina?
> 

All depends on how the autotools handle the cmake equivalent of
   if( HOST_DARWIN )
       SET( CMAKE_INSTALL_RPATH "@executable_path/../${INST_LIB_DIR}" )
   else( )
       SET( CMAKE_INSTALL_RPATH "$ORIGIN/../${INST_LIB_DIR}" )
   endif( )


Cheers 
Enrico

_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to