summaryrefslogtreecommitdiff
path: root/data/desktop/meson.build
blob: 8c16dbeada84fa37fc605ef6664c105ffb1a7aab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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'))