2012/3/26 c. <carlo.defa...@gmail.com>: > > On 26 Mar 2012, at 00:59, Carnë Draug wrote: > >> That's what I meant. But I don't think such situation would demand >> much more from the package mantainer, a perl script could be easily >> cooked that would deal with the mutiple inst/ files. The only problem >> would be with mutiple src/ and but unless the package has complex >> Makefile, it shouldn't be much more work to adjust it at release time. >> >> Carnë > > Actually there is no multible inst/ directories, what Juan Pablo refers to as > subpackages > are just subdirectories of one single inst/ directory, have a look at 'ocs' > or 'geometry' > for an example. > > What one needs to do is just to descend recursively into such directories and > install files in them. > The only difficulty I see with this approach is dealing automaticallywith > 'private' directories > and class directories. > > c.
Ok, pkg is a popular topic! We are discussing several issues in this thread. I think is time to separate them. 1. Make PKG_ADD work with multi-packages (or inst/ with multiple subfolders). Clemes gave a solution based on searching the path for the packages. Philip Nienhuis thinks there could be a structural solution using ~/.octave_packages to store the folders and octave_config_info(). A new thread "Getting package installation prefixes" is open, lets finish the details there. 2. Another thread "How to deal with multi-packages with more than one src" is open to discuss this issue. 3. Is "pkg rebuild" working properly? If not, we should open a new thread. I may have forgotten some of the topics discussed. -- M. Sc. Juan Pablo Carbajal ----- PhD Student University of Zürich http://ailab.ifi.uzh.ch/carbajal/ ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev