From d98d60a74976e544c2a844f41dd00db9d9ac999a Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Sat, 11 May 2019 00:42:21 +0800 Subject: use meson to build --- data/meson.build | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 data/meson.build (limited to 'data/meson.build') diff --git a/data/meson.build b/data/meson.build new file mode 100644 index 0000000..f471366 --- /dev/null +++ b/data/meson.build @@ -0,0 +1,21 @@ +subdir('icons') + +desktop_in = configuration_data() +desktop_in.set('VERSION', meson.project_version()) + +desktop_file = 'mozo.desktop' +i18n.merge_file(desktop_file, + input: configure_file( + input: desktop_file + '.in.in', + output: desktop_file + '.in', + configuration : desktop_in, + ), + output: desktop_file, + po_dir: join_paths(meson.source_root(), 'po'), + type: 'desktop', + install: true, + install_dir : join_paths(datadir, 'applications') + ) + +install_man('mozo.1') +install_data('mozo.ui', install_dir: join_paths(datadir, meson.project_name())) -- cgit v1.2.1