summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build29
1 files changed, 29 insertions, 0 deletions
diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..3233fda
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,29 @@
+project(
+ 'mate-user-guide',
+ meson_version: '>= 0.61.2',
+ version: '1.28.0',
+)
+
+gnome = import('gnome')
+i18n = import('i18n')
+
+if get_option('nls')
+ subdir('po')
+endif
+
+desktop_in = configure_file(
+ input: 'mate-user-guide.desktop.in.in',
+ output: 'mate-user-guide.desktop.in',
+ copy: true,
+)
+
+i18n.merge_file(
+ input: desktop_in,
+ output: 'mate-user-guide.desktop',
+ type: 'desktop',
+ po_dir: join_paths(meson.project_source_root(), 'po'),
+ install: true,
+ install_dir: join_paths(get_option('datadir'), 'applications'),
+)
+
+subdir('mate-user-guide')