The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
421 B
17 lines
421 B
5 years ago
|
dgen = find_program('desktopgenerator.py')
|
||
|
|
||
|
desktop_in_file = custom_target('something.desktop.in',
|
||
|
input : ['something.desktop.in.in'],
|
||
|
output : 'something.desktop.in',
|
||
|
command : [dgen, '@INPUT@', '@OUTPUT@'],
|
||
|
)
|
||
|
|
||
|
i18n.merge_file(
|
||
|
input : desktop_in_file,
|
||
|
output : 'something.desktop',
|
||
|
type : 'desktop',
|
||
|
po_dir : '../po',
|
||
|
install: true,
|
||
|
install_dir: join_paths(get_option('datadir'), 'applications'),
|
||
|
)
|