octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: pkg - post_install.m


From: marco Vassallo
Subject: RE: pkg - post_install.m
Date: Wed, 11 Sep 2013 17:33:08 +0200

----------------------------------------
> From: address@hidden
> Date: Wed, 11 Sep 2013 16:25:22 +0100
> Subject: Re: pkg - post_install.m
> To: address@hidden
> CC: address@hidden
>
> On 6 September 2013 08:52, marco Vassallo <address@hidden> wrote:
> > I have a little problem using pkg.
> >
> > After the installation, I need to move a file from the folder where the
> > DLD-function are installed ("x86_64-unknown-linux-gnu-api-v48+" on my pc) to
> > another directory.
> >
> > function post_install (desc)
> >
> > func = fullfile (desc.dir, "@function");
> > [status, msg] = mkdir (func);
> >
> > [status, msg, msgid] = movefile ('./src/feval.oct', func, 'f');
> >
> > endfunction
>
> I took a closer look at this and noticed that you're trying to move an
> oct file (architecture dependent), into a new directory where the .m
> files are meant to go. We make a distinction between the two. Why are
> you doing this?
>

I'm moving an oct file to the @mesh folfder, which I think is the only way
for implementing polymorphism.
Marco

> Carnë

reply via email to

[Prev in Thread] Current Thread [Next in Thread]