On 20.10.2009, at 21:11, Søren Hauberg wrote:
> tir, 20 10 2009 kl. 12:47 +0200, skrev Lukas Reichlin:
>> addpath(fullfile (fileparts (mfilename ("fullpath")), "control"));
>> addpath(fullfile (fileparts (mfilename ("fullpath")), "ocst"));
>> seems to work when I add the PKG_ADD file manually to inst/ after
>> installation.
>>
>> Therefore, I put the PKG-ADD file in
>> http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/extra/control-oo/inst/
>>
>> However, after downloading the tarball and using "pkg install",
>> PKG_ADD is not in place. Do you know how to fix this?
>
> I must admit I can't remember the details. I see that the 'gsl'
> package
> puts its PKG_ADD file in the root directory of the package, i.e. in
> the
> directory that contains the 'inst' directory. You can try doing that
> and
> see if that helps.
>
> Søren
>
I moved the file to the root directory and added "PKG_ADD to the
Makefile
sinclude ../../Makeconf
PKG_FILES = COPYING DESCRIPTION INDEX PKG_ADD $(wildcard inst/*)
SUBDIRS = doc/
.PHONY: $(SUBDIRS)
pre-pkg::
@for _dir in $(SUBDIRS); do \
$(MAKE) -C $$_dir all; \
done
clean:
@for _dir in $(SUBDIRS); do \
$(MAKE) -C $$_dir $(MAKECMDGOALS); \
done
It works now, by some "magic" the file is moved to inst/
Thank you very much for your help!
Cheers,
Lukas
------------------------------------------------------------------------------
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