[maemo-developers] control panel applet

From: Tuomas Kulve tuomas at kulve.fi
Date: Tue Nov 20 18:34:09 EET 2007
Fred wrote:
> Tuomas Kulve a écrit :
>> Fred wrote:
>>> Hi,
>>>
>>> I can't seem to be able to find a proper way to tell autotools
>>> (dpkg-buildpackage ?) to install the lib for my control panel applet
>>> in the right location.
>>>
>>> Any hint ?
>>
>> At least on Chinook:
>>
>> pkg-config hildon-control-panel --variable=pluginlibdir
>>
>>
> 
> My problem is more on te configure/makefile part : how to tell it to use
> pluginlibdir as destination for install
> 
> my lib is gnerated with lib_LTLIBRARIES and gets installed in <prefix>/lib

I think goes like this:

configure.ac:
plugindir=`pkg-config hildon-control-panel --variable=pluginlibdir`
AC_SUBST(plugindir)

Makefile.am:
plugin_LTLIBRARIES = myplugin.la

myplugin_la_SOURCES = ...
etc.


-- 
Tuomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20071120/71823457/attachment.pgp 
More information about the maemo-developers mailing list