[Pkg-octave-devel] r1537 - octave-pkg-dev/trunk

Thomas Weber thomas.weber.mail at gmail.com
Tue Apr 1 08:10:54 UTC 2008


Am Montag, den 31.03.2008, 22:28 +0200 schrieb Rafael Laboissiere:
> * Thomas Weber <thomas.weber.mail at gmail.com> [2008-03-31 17:16]:
> 
> > On 31/03/08 14:23 +0000, Rafael Laboissiere wrote:
> > > Author: rafael
> > > Date: 2008-03-31 14:23:16 +0000 (Mon, 31 Mar 2008)
> > > New Revision: 1537
> > > 
> > > Modified:
> > >    octave-pkg-dev/trunk/octave-pkg.mk.in
> > > Log:
> > > * Also move PK_ADD away before running the unit tests
> > > * Move PK_ADD.bak back into PKG_ADD using shell, not Octave
> > 
> > Are you sure that this will work? "pkg install" modifies the PKG_ADD
> > files, so I think it should be at its place when calling "pkg install"
> > from Octave. 
> > 
> > create_pkgadddel() is called as part of "pkg install", see pkg.m, line
> > 741.
> 
> My understanding from reading the code of create_pkgadddel() is that only
> the src/PKG_{ADD,DEL} and inst/PKG_A{ADD,DEL} files are modified, not the
> one at the top dir.

I disagree, see below.

> Anyway, the octave-forge are compiling correctly with the current version of
> octave-pkg-dev (0.5.1).

Yes, but the top-level PKG_ADD file is not included. In the
combinatorics package, it tells Octave where to find the function
partcnt, so:

==========================================================================
octave-combinatorics as installed by octave-pkg-dev (0.5.2):

octave:1> help partcnt

help: `partcnt' not found
==========================================================================


==========================================================================
combinatorics as installed by pkg.m natively:

octave:3> help partcnt
 -- Loadable Function: P = partcnt(N)

==========================================================================

	Thomas




More information about the Pkg-octave-devel mailing list