automake
[Top][All Lists]
Advanced

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

Re: Questions...


From: Matí­as Alejandro Torres
Subject: Re: Questions...
Date: Sun, 11 Feb 2007 23:24:57 -0300
User-agent: Thunderbird 1.5.0.9 (X11/20070103)

Matí­as Alejandro Torres escribió:
Hi all

I'm using anjuta for generating the configure, make and make install needed files for a program of my own. After doing these i discover that... it configures and builds okey, it even checks for the needed libraries. Great so far.

Anyway .. I have a couple of questions,

1- how do i set up a PREFIX macro so i know where the program is going to be installed after executing ./configure? (accesible from my code).

2- What about if I want to install images when make install is executed? where I configure that?

Thanks, Matias.



I figure out my two questions... almost, let's say I want to copy one whole directory recursively

Makefile.am

contactsdatadir = ${prefix}/share/applications/contacts
contactsdata_DATA = \
   themes


themes is that directory but when I try to install it it throws me :

test -z "/usr/local/share/applications/contacts" || mkdir -p -- "/usr/local/share/applications/contacts" /usr/bin/install -c -m 644 './themes' '/usr/local/share/applications/contacts/themes'
/usr/bin/install: se omite el directorio `./themes'
make[2]: *** [install-contactsdataDATA] Error 1

So what do i need to do to copy that directory recursively? or else.. what do i need to do to create the themes directory so i can copy individual files?

Thanks




reply via email to

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