[gtk-doc/wip/tintou/cmake-install-dir: 19/19] cmake: install the files to datadir as these files are platform-independent



commit 16faf95004e9552a209c192473e4b5b3c48af978
Author: Corentin Noël <corentin elementary io>
Date:   Fri Oct 5 11:57:53 2018 +0200

    cmake: install the files to datadir as these files are platform-independent

 buildsystems/cmake/Makefile.am | 2 +-
 meson.build                    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/buildsystems/cmake/Makefile.am b/buildsystems/cmake/Makefile.am
index cdccd53..a11e89b 100644
--- a/buildsystems/cmake/Makefile.am
+++ b/buildsystems/cmake/Makefile.am
@@ -6,7 +6,7 @@ EXTRA_DIST = \
 CLEANFILES = \
   GtkDocConfigVersion.cmake
 
-cmakedir = $(libdir)/cmake/GtkDoc
+cmakedir = $(datadir)/cmake/GtkDoc
 cmake_DATA = \
        GtkDocConfig.cmake \
        GtkDocConfigVersion.cmake \
diff --git a/meson.build b/meson.build
index c2155c0..823b203 100644
--- a/meson.build
+++ b/meson.build
@@ -20,7 +20,7 @@ bindir = join_paths(prefix, get_option('bindir'))
 libdir = join_paths(prefix, get_option('libdir'))
 datadir = join_paths(prefix, get_option('datadir'))
 
-cmakedatadir = join_paths(libdir, 'cmake')
+cmakedatadir = join_paths(datadir, 'cmake')
 
 autoconfdatadir = join_paths(datadir, 'aclocal')
 pkgdir = join_paths(datadir, package_name)


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