|
From: Rafael L. <rla...@us...> - 2003-02-17 16:51:19
|
Update of /cvsroot/plplot/plplot/bindings/octave/PLplot/support
In directory sc8-pr-cvs1:/tmp/cvs-serv32153/bindings/octave/PLplot/support
Modified Files:
Makefile.am
Log Message:
Made the Octave installation more sane. This included several changes:
* use_plplot.m and and plplot_octave_path.m get installed in a directory
belonging to the default Octave path. This is very important, otherwise
the users will not be able to issue the command "use_plplot"out of the box.
* For that, I used the technique of calling octave_config_info and checking
the field localfcnfiledir in sysloc.in.
* The other files m files are installed, as usual in
${prefix}/share/plplot_octave. The .oct file is isntalled in Octave
binary the version-specific directory.
* There are now three AC_SUBSTituted variabels that get propagted in the
Makefile.am's
PLPLOT_OCTAVE_DIR (for the m fiels)
OCTAVE_M_DIR (for use_plplot.m and and plplot_octave_path.m)
OCTAVE_OCT_DIR (for plplot_octave.oct)
* These variables are effectively used in the Makefile.am. The previous set
up was completely inconsistent, since the "share/plplot_octave" directory
was used in may places. Even worse: it was preceeded by $(datadir). What
a mess!
* In bindings/octave/PLplot/Makefile.am there are now two different
installation directories, one for PLPLOT_OCTAVE_DIR and the other for
OCTAVE_M_DIR, with the m files being accordingly distributed.
* bindings/octave/PLplot/plplot_octave_path.m.in uses now
@PLPLOT_OCTAVE_DIR@ in order to get the right isntallation directory.
|