[gnome-clocks] build: update to meson 0.41 which has a dist target



commit 0494021ff115a1cb851f9e639c26422ce4a59b4b
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Jul 1 09:16:08 2017 +0200

    build: update to meson 0.41 which has a dist target

 .../post_install.py => build-aux/post-install.py   |    0
 help/meson.build                                   |    4 ++--
 meson.build                                        |   10 +++++-----
 mesonscripts/release.sh                            |   20 --------------------
 4 files changed, 7 insertions(+), 27 deletions(-)
---
diff --git a/mesonscripts/post_install.py b/build-aux/post-install.py
similarity index 100%
rename from mesonscripts/post_install.py
rename to build-aux/post-install.py
diff --git a/help/meson.build b/help/meson.build
index 5d4342f..654b994 100644
--- a/help/meson.build
+++ b/help/meson.build
@@ -36,9 +36,9 @@ help_linguas = [
   'sv'
 ]
 
-gnome.yelp(meson.project_name(),
+gnome.yelp(
+  meson.project_name(),
   sources: help_files,
   media: help_media,
   languages: help_linguas,
-  symlink_media: true,
 )
diff --git a/meson.build b/meson.build
index d3a632e..ea5cdba 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,9 @@
-project('gnome-clocks', ['vala', 'c'],
+project(
+  'gnome-clocks',
+  ['vala', 'c'],
   version: '3.25.1',
   license: 'GPL2+',
-  meson_version: '>= 0.37',
+  meson_version: '>= 0.41.0',
 )
 
 gnome = import('gnome')
@@ -46,9 +48,7 @@ endif
 configure_file(output: 'config.h', configuration: conf)
 config_h_dir = include_directories('.')
 
-meson.add_install_script(join_paths('mesonscripts', 'post_install.py'))
-
-run_target('release', command: [join_paths('mesonscripts', 'release.sh'), meson.project_name(), 
meson.project_version()])
+meson.add_install_script(join_paths('build-aux', 'post-install.py'))
 
 subdir('data')
 subdir('help')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]