[libvirt-dbus PATCH 2/2] meson: Don't install documentation

Andrea Bolognani abologna at redhat.com
Mon Apr 27 15:16:00 UTC 2020


Standard practice is to not install these files when building from
source.

This reverts commit 64a1a72be1ecac30359e6964557eeffedc06bb7d.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 meson.build | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/meson.build b/meson.build
index 64e1fb6..7518e94 100644
--- a/meson.build
+++ b/meson.build
@@ -12,7 +12,6 @@ project(
 prefix = get_option('prefix')
 datadir = prefix / get_option('datadir')
 sbindir = prefix / get_option('sbindir')
-docdir = datadir / 'doc' / meson.project_name()
 
 opt_dirs = [
     'dbus_interfaces',
@@ -259,7 +258,6 @@ if git
         configuration: { 'contributorslist': authors.stdout() },
         input: 'AUTHORS.rst.in',
         output: 'AUTHORS.rst',
-        install_dir: docdir,
     )
 
     foreach file : [ 'libvirt-dbus.spec', 'AUTHORS.rst' ]
@@ -268,22 +266,6 @@ if git
 endif
 
 
-# Install documentation
-
-docs = [
-    'COPYING',
-    'NEWS.rst',
-]
-if not git
-    docs += ['AUTHORS.rst']
-endif
-
-install_data(
-    docs,
-    install_dir: docdir,
-)
-
-
 # Include sub-directories
 
 subdir('data')
-- 
2.25.4




More information about the libvir-list mailing list