summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2017-10-26 12:42:14 +0200
committerOndrej Holy <oholy@redhat.com>2017-10-31 18:22:08 +0100
commit80bebd7ab1ba7fbac3218a228cef2d2093ce4dad (patch)
tree16c5ecab065d7a2f7fb02af38ac384e04589381e
parent4555036dd8442cead116d6aaebd915b2be7f7455 (diff)
downloadgvfs-80bebd7ab1ba7fbac3218a228cef2d2093ce4dad.tar.gz
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
-rw-r--r--meson.build6
-rw-r--r--meson_options.txt1
2 files changed, 6 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 3f6d22d7..589919c4 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 c7899291..3d9a1171 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')