[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Makefile.am
From:       Thomas Baumgart <ipwizard () users ! sourceforge ! net>
Date:       2006-08-24 4:51:03
Message-ID: 200608240651.13364 () net-bembel ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hi all,

on Wednesday 23 August 2006 20:56, Uwe Thiem wrote:

> Hi folks,
>
> attached is the Makefile.am from my source directory. I would like "iwy"
> to appear under KDE's "Toys" directory by default but it doesn't appear
> at all. :-( I have looked through a lot of those Makefile.am files in
> KDE apps, especially those that third party apps. They are all different
> when it comes to the installation of those *.desktop files. Most seem to
> ignore "xdg" completely (but appear at least somewhere). Those that look
> like trying to adhere to xdg (I don't really understand
> auto[make|config] - so I am not too sure here) mostly don't appear at
> all.

In KMyMoney we do it this way (Makefile.am):

install-data-local:
        $(mkinstalldirs) $(DESTDIR)$(kde_datadir)/kmymoney2/
        $(INSTALL_DATA) $(srcdir)/kmymoney2ui.rc 
$(DESTDIR)$(kde_datadir)/kmymoney2/kmymoney2ui.rc
        $(mkinstalldirs) $(DESTDIR)$(xdg_appsdir)
        $(INSTALL_DATA) $(srcdir)/kmymoney2.desktop 
$(DESTDIR)$(xdg_appsdir)/kmymoney2.desktop

with the xdg_ vars set as follows after configure:

xdg_appsdir = ${datadir}/applications/kde
xdg_directorydir = ${datadir}/desktop-directories
xdg_menudir = ${sysconfdir}/xdg/menus

I have no idea, if it works or not. We never had any complaints that it 
doesn't - so no news is good news in this case ;)

If there is a better way (hint to documentation), I am interested as well.

-- 

Regards

Thomas Baumgart

thb@net-bembel.de               Check the KMyMoney open source
http://www.net-bembel.de/       project at http://kmymoney2.sf.net/

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
There are only 10 types of people in the world: those who
understand binary arithmetic and those who don't.
-------------------------------------------------------------

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic