aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build12
1 files changed, 11 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index dc83f80..4bae2de 100644
--- a/meson.build
+++ b/meson.build
@@ -11,10 +11,20 @@ dependencies = [
dependency('vte-2.91'),
]
+subdir('po')
+
sources = files('weltschmerz.vala', 'terminal.vala', 'config.vala', 'configreader.vala', 'utils.vala')
sources += gnome.compile_resources('resources', 'resources.xml')
executable('weltschmerz', sources, dependencies: dependencies, install: true)
install_man('weltschmerz.1')
-install_data('weltschmerz.desktop', install_dir: join_paths(get_option('datadir'), 'applications'))
+
+i18n.merge_file(
+ input: 'weltschmerz.desktop.in',
+ output: 'weltschmerz.desktop',
+ po_dir: 'po',
+ type: 'desktop',
+ install: true,
+ install_dir: get_option('datadir') / 'applications',
+)