From: Teemu I. <tpi...@pc...> - 2003-08-26 04:01:31
|
On 08/08/03 18:50, Teemu Ikonen wrote: > Maybe a new > directory hierachy like main/alternatives is needed? Directories which are > found there could then be installed in something like > $prefix/share/octave-forge-alternatives I've committed my grace plotting code to extra/graceplot and modified the Makefiles and configure scripts to install the overlapping m-files to /usr/share/octave/2.1.50/site/octave-forge-alternatives/m/graceplot The modifications I made to the installation scripts are general, so that any m-files in directory extra/<package>/alternatives are installed to /usr/share/octave/<version>/site/octave-forge-alternatives/m/<package> and oct-files to /usr/lib/octave/<version>/site/octave-forge-alternatives/oct/<arch>/<package> In a local installation the alternative files go to $path-alternatives/m (and $path-alternatives/oct) where $path is provided by --with-path parameter to configure. It's up to the package to provide scripts to shuffle the loadpath so that the functions are actually visible, the graceplot package contains an example on how to do this. Any comments or suggestions are welcome. Teemu |