OctaveDE progress and autotools tutorial

Rik rdrider0-list at yahoo.com
Sun Apr 5 13:10:34 CDT 2009


octave-maintainers-request at octave.org wrote:
> Send Octave-maintainers mailing list submissions to
> 	octave-maintainers at octave.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://www-old.cae.wisc.edu/mailman/listinfo/octave-maintainers
> or, via email, send a message with subject or body 'help' to
> 	octave-maintainers-request at octave.org
>
> You can reach the person managing the list at
> 	octave-maintainers-owner at octave.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Octave-maintainers digest..."
>   
> ------------------------------------------------------------------------
>
> Today's Topics:
>
>    1. OctaveDE progress and autotools tutorial (John Swensen)
>    2. Re: GUI work (was: Graphical help browser) (Pedro L. Lucas)
>   
>
> ------------------------------------------------------------------------
>
> Subject:
> OctaveDE progress and autotools tutorial
> From:
> John Swensen <jpswensen at comcast.net>
> Date:
> Sun, 5 Apr 2009 00:39:48 -0400
> To:
> Octave Maintainers List <octave-maintainers at octave.org>
>
> To:
> Octave Maintainers List <octave-maintainers at octave.org>
>
>
> So I have fixed a bunch of bugs in OctaveDE and added a bunch of
> functionality.  Here is a list of what I fixed/added:
> 1) Fixed a ton of bugs concerning the closing of the application
> 2) Added the ability to set and clear breakpoints and see the location
> when a breakpoint is hit
> 3) Integrated the OpenGL plotter into OctaveDE with rotation and zoom
> capabiltiies
>
> However, I till can't figure out autotools completely.  I can't get
> figure out how to get it to install extra stuff in /usr/share
> properly.  Does anyone know of a good tutorial or example of
> installing additional stuff with autotools?  I tried to look through
> the way octave does it, but was too extensive for me to really
> understand.
I always find programming with autotools difficult, but your issue isn't
too bad.

Modify your Makefile.am to include something like the following:
EXTRA_DIST = $(myextras_DATA)
myextrasdir = $(pkgdatadir)
myextras_DATA = file1 file2 file3

The above lines are case sensitive.  DATA and EXTRA_DIST are key words
for the autotools sequence.  The directory $(pkgdatadir) would usually
refer to /usr/local/share/OctaveDE unless the --prefix option to
configure was given.  You can put things somewhere else by using
'myextrasdir = $(pkgdatadir)/new_dir'

--Rik


More information about the Octave-maintainers mailing list