summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2017-12-17 17:25:01 +0000
committerRichard Hughes <richard@hughsie.com>2017-12-18 14:23:45 +0000
commitcb98df0b008a5a1ccb4cdfa5e1ed945dc6c24d03 (patch)
tree920f671e3d6e02dddd80a525c4b0e7ccc3ffbb26 /data
parent19ec1e9d6585eb647ff4ec65e0b938e4c18dea3b (diff)
downloadappstream-glib-cb98df0b008a5a1ccb4cdfa5e1ed945dc6c24d03.tar.gz
Do not use an 'enable' prefix for meson arguments
Diffstat (limited to 'data')
-rw-r--r--data/meson.build6
-rw-r--r--data/tests/meson.build2
2 files changed, 4 insertions, 4 deletions
diff --git a/data/meson.build b/data/meson.build
index ccc3273..42e0346 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -5,7 +5,7 @@ install_data('appdata-xml.m4', install_dir : 'share/aclocal')
install_data('appstream-xml.m4', install_dir : 'share/aclocal')
install_data('appstream-util', install_dir : 'share/bash-completion/completions')
-if get_option('enable-builder')
+if get_option('builder')
install_data('appstream-builder', install_dir : 'share/bash-completion/completions')
endif
@@ -13,7 +13,7 @@ install_data('appdata.its', install_dir : 'share/gettext/its')
install_data('appdata.loc', install_dir : 'share/gettext/its')
xsltproc = find_program('xsltproc', required : false)
-if get_option('enable-man') and xsltproc.found()
+if get_option('man') and xsltproc.found()
custom_target('appstream-util-man',
input: 'appstream-util.xml',
output: 'appstream-util.1',
@@ -50,7 +50,7 @@ if get_option('enable-man') and xsltproc.found()
'@INPUT@'
]
)
- if get_option('enable-builder')
+ if get_option('builder')
custom_target('appstream-builder-man',
input: 'appstream-builder.xml',
output: 'appstream-builder.1',
diff --git a/data/tests/meson.build b/data/tests/meson.build
index c4b87b0..2803c34 100644
--- a/data/tests/meson.build
+++ b/data/tests/meson.build
@@ -1,4 +1,4 @@
-if get_option('enable-builder')
+if get_option('builder')
firmware200 = custom_target('firmware-2.0.0',
output : 'colorhug-als-2.0.0.cab',
input : [