add files to be installed to meson

This commit is contained in:
Martin Brodbeck 2019-10-10 14:42:11 +02:00
parent d13f9d2824
commit e987692c7a
2 changed files with 8 additions and 2 deletions

View file

@ -18,3 +18,7 @@ singleapp_lib = singleapp_proj.get_variable('singleapp_lib')
singleapp_dep = singleapp_proj.get_variable('singleapp_dep')
subdir('src')
install_data('misc/kima2.svg', install_dir : get_option('datadir') / 'icons/hicolor/scalable/apps')
install_data('misc/kima2.desktop', install_dir : get_option('datadir') / 'applications')
install_data('manual/Benutzerhandbuch.pdf', install_dir : get_option('datadir') / 'kima2')

View file

@ -17,5 +17,7 @@ processed = qt5.preprocess(moc_headers : ['basketmodel.h', 'mainwindow.h', 'pric
qresources : '../../kima2.qrc',
dependencies: qt5_dep)
kima2 = executable('kima2', sources : [src, processed], dependencies : [qt5_dep, singleapp_dep, core_dep, printer_dep, thread_dep],
include_directories : [configuration_inc])
kima2 = executable('kima2', sources : [src, processed],
dependencies : [qt5_dep, singleapp_dep, core_dep, printer_dep, thread_dep],
include_directories : [configuration_inc],
install : true)