parent
b53dad69cc
commit
06bdea5142
3 changed files with 15 additions and 3 deletions
@ -1,2 +1,12 @@ |
||||
install_data('terminology.desktop', |
||||
install_dir: join_paths(get_option('datadir'), 'applications')) |
||||
icon_sed = 's~%ICON_PATH%~@0@~'.format(join_paths(get_option('prefix'), |
||||
get_option('datadir'), |
||||
'icons/hicolor/128x128/apps')) |
||||
|
||||
custom_target( |
||||
'terminology.desktop', |
||||
input : 'terminology.desktop.in', |
||||
output: 'terminology.desktop', |
||||
command : [sed, icon_sed, '@INPUT@'], |
||||
capture : true, |
||||
install : true, |
||||
install_dir : join_paths(get_option('datadir'), 'applications')) |
||||
|
Loading…
Reference in new issue