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

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

 



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

This reverts commit 64a1a72be1ecac30359e6964557eeffedc06bb7d.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 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





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux