summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2017-11-12 11:30:48 +0100
committerIñigo Martínez <inigomartinez@gmail.com>2018-08-11 22:55:53 +0200
commitaf3f39dae005c8c3ceb0a88c38b1c2172b20f1d7 (patch)
tree16f292e77a71bbbac72412f7bbdecad3521e1c15 /docs
parent5a75f4d0d178e3035a69e2628dc575e9bc80cf98 (diff)
downloaddconf-af3f39dae005c8c3ceb0a88c38b1c2172b20f1d7.tar.gz
build: Rename build options
Following the new meson porting guidelines, this patch renames the build options. The list of changes is as follows: - Remove the enable prefix from boolean options. - Remove the with prefix from string options. - The character separator from multi-word options has been changed to underscore.
Diffstat (limited to 'docs')
-rw-r--r--docs/meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/meson.build b/docs/meson.build
index 47f9062..c1e4616 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -1,4 +1,4 @@
-if get_option('enable-gtk-doc')
+if get_option('gtk_doc')
gnome.gtkdoc(
meson.project_name(),
main_xml: meson.project_name() + '-docs.xml',
@@ -14,9 +14,9 @@ if get_option('enable-gtk-doc')
)
endif
-if get_option('enable-man')
+if get_option('man')
xsltproc = find_program('xsltproc', required: false)
- assert(xsltproc.found(), 'xsltproc is required for enable-man')
+ assert(xsltproc.found(), 'xsltproc is required for man generation')
xsltproc_cmd = [
xsltproc,