[Kmymoney-devel] [kmymoney] kmymoney: Use DATA_INSTALL_DIR to install appdata

Marko Käning mk-lists at email.de
Fri Apr 24 18:37:02 UTC 2015


Hi devs,

this should - for making it more cross-platform - rather use ECM's

	${KDE_INSTALL_APPDIR}

instead of 

	${DATA_INSTALL_DIR}/appdata/

right!?

Greets,
Marko



On 24 Apr 2015, at 19:45 , Heiko Becker <heirecka at exherbo.org> wrote:

> Git commit 9b51544d9fc8188fec231eb4006cde2ca0c200ee by Heiko Becker.
> Committed on 24/04/2015 at 15:44.
> Pushed by heikobecker into branch 'master'.
> 
> Use DATA_INSTALL_DIR to install appdata
> 
> M  +1    -1    kmymoney/CMakeLists.txt
> 
> http://commits.kde.org/kmymoney/9b51544d9fc8188fec231eb4006cde2ca0c200ee
> 
> diff --git a/kmymoney/CMakeLists.txt b/kmymoney/CMakeLists.txt
> index aed99d5..7febf05 100644
> --- a/kmymoney/CMakeLists.txt
> +++ b/kmymoney/CMakeLists.txt
> @@ -108,7 +108,7 @@ install(PROGRAMS kmymoney.desktop
>   DESTINATION ${XDG_APPS_INSTALL_DIR}
>   )
> install(PROGRAMS kmymoney.appdata.xml
> -  DESTINATION share/appdata/
> +  DESTINATION ${DATA_INSTALL_DIR}/appdata/
>   )
> 
> install(FILES x-kmymoney.xml
> 



More information about the KMyMoney-devel mailing list