man, 19 10 2009 kl. 18:10 +0200, skrev Lukas Reichlin:
> The "pkg install" command should add the following directories to the  
> path:
> inst/
> inst/control
> inst/ocst
> 
> but it should not add the @* directories in inst/
> in order to load the package correctly when octave starts up.
> Which commands do I need to achieve this?

If you add a file 'inst/PKG_ADD' then this will be executed one your
package is loaded. You can put commands in this file that will setup the
paths for you. You can add something like

  addpath (fullfile (pwd (), fileparts (mfilename ("fullpath")),
"control"));

but I'm sure there must be a more simple way.

Søren


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to