[Anjuta-list] Another couple of daft questions



Hi everyone,

Me again with another couple of daft questions (Anjuta 1, not 2).

1. I've written a game which has a number of data files associated with
it and as such I've included them as data files in the Anjuta project.
However, when it creates the configure file, the build distribution
installs by default the binaries to /usr/local/bin/game_name and the
data files to /usr/local/share/game_name. This is all well and good
until a user decides to pass --prefix to the configure script which
makes programming in C++ to find the data files correctly a living
nightmare. What I'd like to do is be able to install the binaries by
default to /usr/local/games/game_name and the data files
to /usr/local/games/game_name/data, just as I've done with the Windows
ports of the game. As such, if the user enters ./configure
--prefix=/tmp, then there's no problem. Is it possible to set these
directories from the project configuration dialogue?

2. I'd like to be able to avoid having to build a distribution, unpack
and run from there in a terminal every time I want to see if the package
builds, installs and runs correctly. I know there's an install function
within Anjuta, but I'm using Ubuntu (no root password) and although the
Anjuta manual states that there is the possibility of setting either su
or sudo within the build preferences, I see no such thing. Is it
possible to configure Anjuta 1 to use sudo to install?

Thanks!

>> D


P.S. Tony - the Allegro problem was sorted as simply as including
AM_PATH_ALLEGRO(4.2.0) in the libraries dialogue - nothing more. Thanks
again!

-- 
Darryl LeCount
www.jamyskis.net
darryl jamyskis net

Attachment: signature.asc
Description: This is a digitally signed message part



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