[nautilus-sendto] build: Remove intltool dependency
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-sendto] build: Remove intltool dependency
- Date: Fri, 23 Jun 2017 08:01:36 +0000 (UTC)
commit 8ed99c3e98b7f92e622d26ebec2dcdaaa57064e4
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jun 23 10:00:31 2017 +0200
build: Remove intltool dependency
And correct install directory $(datadir)/appdata, not
$(datadir)/metainfo
src/meson.build | 20 ++++++--------------
1 files changed, 6 insertions(+), 14 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index dd62a6f..4f684f3 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -7,17 +7,9 @@ executable('nautilus-sendto',
po_dir = join_paths(meson.source_root(), 'po')
-intltool_merge = find_program('intltool-merge')
-intltool_cache = join_paths(po_dir, '.intltool-merge-cache')
-intltool_xml_cmd = [intltool_merge, '-x', '-u', '-c', intltool_cache, po_dir, '@INPUT@', '@OUTPUT@']
-
-info_name = 'nautilus-sendto.metainfo.xml'
-
-custom_target(
- info_name,
- input: 'nautilus-sendto.metainfo.xml.in',
- output: info_name,
- command: intltool_xml_cmd,
- install: true,
- install_dir: join_paths(nst_datadir, 'metainfo')
-)
+i18n.merge_file ('appdata',
+ input: 'nautilus-sendto.metainfo.xml.in',
+ output: 'nautilus-sendto.metainfo.xml',
+ install: true,
+ install_dir: join_paths(nst_datadir, 'appdata'),
+ po_dir: po_dir,)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]