octave-maintainers
[Top][All Lists]
Advanced

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

Re: OctaveDE progress and autotools tutorial


From: John Swensen
Subject: Re: OctaveDE progress and autotools tutorial
Date: Sun, 5 Apr 2009 21:06:00 -0400


On Apr 5, 2009, at 2:10 PM, Rik wrote:

address@hidden wrote:
Send Octave-maintainers mailing list submissions to
        address@hidden

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
        address@hidden

You can reach the person managing the list at
        address@hidden

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 <address@hidden>
Date:
Sun, 5 Apr 2009 00:39:48 -0400
To:
Octave Maintainers List <address@hidden>

To:
Octave Maintainers List <address@hidden>


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


Thanks for the quick, concise explanation. That worked perfectly. I must be dumb to not be able to figure that out myself ;) I think I am ready to make a Debian/Ubuntu package now.

John



reply via email to

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