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