[gnome-software] trivial: Actually build gnome-software-restarter when using meson
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Actually build gnome-software-restarter when using meson
- Date: Mon, 10 Apr 2017 12:56:29 +0000 (UTC)
commit 318ca2666352e1fb0fb0382a1e8cf9bce67fccb0
Author: Richard Hughes <richard hughsie com>
Date: Mon Apr 10 13:31:24 2017 +0100
trivial: Actually build gnome-software-restarter when using meson
meson.build | 3 +++
src/meson.build | 14 ++++++++++++++
2 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/meson.build b/meson.build
index b95d0b2..6eb0bf3 100644
--- a/meson.build
+++ b/meson.build
@@ -163,6 +163,9 @@ conf.set_quoted('DATADIR',
conf.set_quoted('LIBDIR',
join_paths(get_option('prefix'),
get_option('libdir')))
+conf.set_quoted('BINDIR',
+ join_paths(get_option('prefix'),
+ get_option('bindir')))
conf.set_quoted('SYSCONFDIR',
join_paths(get_option('prefix'),
get_option('sysconfdir')))
diff --git a/src/meson.build b/src/meson.build
index 81017b1..dfe7787 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -113,6 +113,20 @@ executable(
install_dir : 'bin'
)
+executable(
+ 'gnome-software-restarter',
+ sources : 'gs-restarter.c',
+ include_directories : [
+ include_directories('..'),
+ ],
+ dependencies : [
+ gio_unix,
+ ],
+ c_args : cargs,
+ install : true,
+ install_dir : 'libexec'
+)
+
# replace @VERSION@
configure_file(
input : 'org.gnome.Software.service.in',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]