summaryrefslogtreecommitdiff
path: root/libnm-glib
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2017-12-24 14:52:01 +0100
committerThomas Haller <thaller@redhat.com>2018-01-02 10:44:05 +0100
commit03ba0f1b3af902341ad1ea3b25adafc274109e31 (patch)
tree903de53ab20304df3d6fe7fd13ce56535a79b9cb /libnm-glib
parente965b7679dc1069178efca0dddd93223ab13555c (diff)
build: Remove default install directories
The install directories of those targets that match the default install directories have been removed because they are redundant. This also allows a simple meson build files and it is unnecessary to create some paths. https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00078.html
Diffstat (limited to 'libnm-glib')
-rw-r--r--libnm-glib/meson.build19
1 files changed, 5 insertions, 14 deletions
diff --git a/libnm-glib/meson.build b/libnm-glib/meson.build
index c8b2d8451..43497e60e 100644
--- a/libnm-glib/meson.build
+++ b/libnm-glib/meson.build
@@ -122,8 +122,7 @@ libnm_glib_vpn = shared_library(
c_args: common_cflags,
link_args: ldflags,
link_depends: symbol_map,
- install: true,
- install_dir: get_option('libdir')
+ install: true
)
libnm_glib_vpn_dep = declare_dependency(
@@ -139,8 +138,7 @@ pkg.generate(
filebase: 'libnm-glib-vpn',
subdirs: 'libnm-glib',
requires: 'NetworkManager >= ' + nm_version + ' glib-2.0 dbus-glib-1',
- variables: 'exec_prefix=${prefix}',
- install_dir: join_paths(nm_libdir, 'pkgconfig')
+ variables: 'exec_prefix=${prefix}'
)
sources = shared_udev_utils + files(
@@ -221,8 +219,7 @@ libnm_glib = shared_library(
link_with: libdeprecated_nm_glib,
link_args: ldflags,
link_depends: symbol_map,
- install: true,
- install_dir: get_option('libdir')
+ install: true
)
libnm_glib_dep = declare_dependency(
@@ -238,8 +235,7 @@ pkg.generate(
filebase: 'libnm-glib',
subdirs: 'libnm-glib',
requires: 'libnm-util >= ' + nm_version + ' NetworkManager >= ' + nm_version + ' gobject-2.0 dbus-glib-1',
- variables: 'exec_prefix=${prefix}',
- install_dir: join_paths(nm_libdir, 'pkgconfig')
+ variables: 'exec_prefix=${prefix}'
)
if enable_introspection
@@ -256,9 +252,6 @@ if enable_introspection
'Gio-2.0'
]
- gir_dir = join_paths(nm_datadir, 'gir-' + nm_gir_version)
- typelib_dir = join_paths(nm_libdir, 'girepository-' + nm_gir_version)
-
libnm_glib_gir = gnome.generate_gir(
libnm_glib,
sources: gir_sources,
@@ -270,9 +263,7 @@ if enable_introspection
export_packages: ['libnm-glib', 'libnm-glib-vpn'],
includes: gir_includes,
extra_args: common_cflags + ['--include-uninstalled=' + libnm_util_gir[0].full_path()],
- install: true,
- install_dir_gir: gir_dir,
- install_dir_typelib: typelib_dir
+ install: true
)
endif