[gnome-documents] build: Remove meson's desktop directory variable
- From: Iñigo Martínez <inigomartinez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] build: Remove meson's desktop directory variable
- Date: Thu, 15 Mar 2018 21:46:02 +0000 (UTC)
commit 97dc10b3cf63c8921d0547bc0adda3fcfe1b09cf
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Thu Mar 15 08:24:00 2018 +0100
build: Remove meson's desktop directory variable
There is a variable available for the directory where desktop files
are installed. However, this variable is used only once.
The variable has been removed and the path is used directly.
https://bugzilla.gnome.org/show_bug.cgi?id=787013
data/meson.build | 2 +-
meson.build | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 246a15a..ce0b648 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -74,7 +74,7 @@ foreach app: documents_apps
output: desktop,
po_dir: po_dir,
install: true,
- install_dir: documents_desktopdir
+ install_dir: join_paths(documents_datadir, 'applications')
)
schemas += app.to_lower() + '.gschema.xml'
diff --git a/meson.build b/meson.build
index e93ac30..276e17c 100644
--- a/meson.build
+++ b/meson.build
@@ -25,7 +25,6 @@ documents_mandir = join_paths(documents_prefix, get_option('mandir'))
documents_pkgdatadir = join_paths(documents_datadir, meson.project_name())
documents_pkglibdir = join_paths(documents_libdir, meson.project_name())
-documents_desktopdir = join_paths(documents_datadir, 'applications')
documents_schemadir = join_paths(documents_datadir, 'glib-2.0', 'schemas')
documents_debug = get_option('buildtype').contains('debug')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]