[gitg/wip/valadoc: 1/12] meson: Remove install_dir for default directories



commit 95e96784e5f9f5fbc716d1c8af3bef19c479ff41
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Sun Sep 30 21:56:06 2018 +0200

    meson: Remove install_dir for default directories
    
    Some targets that are installed in default directories are using the
    `install_dir`, which is not necessary.
    
    The `install_dir` parameter has been removed from those targets that
    are installed in their default directories.

 gitg/meson.build        | 3 +--
 libgitg-ext/meson.build | 1 -
 libgitg/meson.build     | 3 +--
 3 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/gitg/meson.build b/gitg/meson.build
index 421076f2..749bbd73 100644
--- a/gitg/meson.build
+++ b/gitg/meson.build
@@ -134,8 +134,7 @@ executable(
   dependencies: deps,
   c_args: cflags,
   vala_args: vala_flags,
-  install: true,
-  install_dir: gitg_bindir
+  install: true
 )
 
 ldflags = []
diff --git a/libgitg-ext/meson.build b/libgitg-ext/meson.build
index ed031202..f6ab2c31 100644
--- a/libgitg-ext/meson.build
+++ b/libgitg-ext/meson.build
@@ -99,7 +99,6 @@ pkg.generate(
     gio_system_pkg
   ],
   variables: 'exec_prefix=' + gitg_prefix,
-  install_dir: join_paths(gitg_libdir, 'pkgconfig')
 )
 
 # FIXME: does not work due to missing proper valadoc support
diff --git a/libgitg/meson.build b/libgitg/meson.build
index 75a255af..1fbed6f8 100644
--- a/libgitg/meson.build
+++ b/libgitg/meson.build
@@ -184,8 +184,7 @@ pkg.generate(
     'libgit2-glib-1.0',
     gio_system_pkg
   ],
-  variables: 'exec_prefix=' + gitg_prefix,
-  install_dir: join_paths(gitg_libdir, 'pkgconfig')
+  variables: 'exec_prefix=' + gitg_prefix
 )
 
 libgitg_dir = meson.current_build_dir()


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