Help with autotools

J

Jonh Wendell

Hi all! I need help with autotools stuff..

My directory structure:

project_name
src
main.py
others.py
data
ui.glade
images.png
po
translations.po

I'd like to do something like that:

The files in "src" should be installed at: $prefix/lib/project_name
The files in "data" should be installed at: $prefix/share/project_name

At $prefix/bin should be create a slink:
$prefix/bin/project_name -> $prefix/lib/project_name/main.py

The listen (http://listengnome.free.fr/) does this, but it doesn't use
autotools...

Can anyone help me?
I've tried a lot to make this work, but with no success...

Thanks,
--
Jonh Wendell Santana
Analista de Sistemas

http://www.bani.com.br
MSN: (e-mail address removed)
GTalk/Jabber: (e-mail address removed)
Linux User #114432
 
P

pavel.starek

Jonh said:
Hi all! I need help with autotools stuff..

My directory structure:

project_name
src
main.py
others.py
data
ui.glade
images.png
po
translations.po

I'd like to do something like that:

The files in "src" should be installed at: $prefix/lib/project_name
The files in "data" should be installed at: $prefix/share/project_name

At $prefix/bin should be create a slink:
$prefix/bin/project_name -> $prefix/lib/project_name/main.py

The listen (http://listengnome.free.fr/) does this, but it doesn't use
autotools...

Can anyone help me?
I've tried a lot to make this work, but with no success...

Thanks,
--
Jonh Wendell Santana
Analista de Sistemas

http://www.bani.com.br
MSN: (e-mail address removed)
GTalk/Jabber: (e-mail address removed)
Linux User #114432

Hi,

in listen project Makefile is shown how to make this thing. URL for SVN
view of Makefile for listen 0.4.3 is:

http://svn.sourceforge.net/viewvc/listengnome/releases/0.4.x/0.4.3/Makefile?view=markup

Cheers, Pavel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top