question about autoconf & automake



Who can I know wher my files are instaled, I mean, for example

the Makefile.am y de $sourcedir/pixmaps is

## Process this file with automake to produce Makefile.in

pixmapdir = $(datadir)/gtklilo/pixmaps

EXTRA_DIST = bomb.xpm debian.xpm left.xpm \
        right.xpm rotate.xpm source.xpm

pixmap_DATA = bomb.xpm debian.xpm left.xpm \
        right.xpm rotate.xpm source.xpm

The when i so 'make install' this files are copied to
/usr/local/share/gtklilo/pixmaps

But, what happens if the user change the path with ./configure
--prefix=somewhere?

window1_icon=gdk_pixbuf_new_from_file("/usr/local/share/gtklilo/pixmaps/debian.xpm", NULL);

How can I change the last sentence?

A attach also the Makefile.am and configure.ac of the main build
directory if it helps.

Thanks
-- 
The chains are broken and the door is open wide
Our eyes adjusting to the light that was denied
And the voices ringing out now
Sing of freedom
And bring a sense of wonder

        http://www.es.debian.org/intro/about.es.html

Attachment: Makefile.am
Description: Text Data

Attachment: configure.ac
Description: Text document

Attachment: signature.asc
Description: Esta parte del mensaje esta firmada digitalmente



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