[gvfs/wip/inigomartinez/meson: 5/11] build: Do not generate the deprecated programs by default



commit 821fee19c3eb02fa5bbace0f0f1f80d62ceac8b3
Author: Ondrej Holy <oholy redhat com>
Date:   Thu Oct 26 12:42:14 2017 +0200

    build: Do not generate the deprecated programs by default
    
    Commandline utils were superseded by gio tool and shell scripts with
    warning are generated instead. Let's do not generate them by default
    in order to speed up the build.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=786149

 meson.build       |    6 +++++-
 meson_options.txt |    1 +
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index 3f6d22d..589919c 100644
--- a/meson.build
+++ b/meson.build
@@ -498,7 +498,11 @@ subdir('client')
 subdir('daemon')
 subdir('monitor')
 subdir('po')
-subdir('programs')
+
+enable_programs = get_option('enable-programs')
+if enable_programs
+  subdir('programs')
+endif
 
 enable_man = get_option('enable-man')
 if enable_man
diff --git a/meson_options.txt b/meson_options.txt
index c789929..3d9a117 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -29,3 +29,4 @@ option('enable-udev', type: 'boolean', value: true, description: 'build with lib
 option('enable-devel-utils', type: 'boolean', value: false, description: 'build with development utility 
programs')
 option('enable-installed-tests', type: 'boolean', value: false, description: 'enable installed unit tests')
 option('enable-man', type: 'boolean', value: false, description: 'generate man pages')
+option('enable-programs', type: 'boolean', value: false, description: 'generate deprecated programs')


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