summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build2
-rw-r--r--meson_options.txt4
-rw-r--r--pango/meson.build2
3 files changed, 4 insertions, 4 deletions
diff --git a/meson.build b/meson.build
index 37fe7131..73b5da2b 100644
--- a/meson.build
+++ b/meson.build
@@ -515,6 +515,6 @@ subdir('examples')
subdir('tests')
subdir('tools')
-if get_option('enable_docs')
+if get_option('gtk_doc')
subdir('docs')
endif
diff --git a/meson_options.txt b/meson_options.txt
index ac641269..95d7edb8 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,8 +1,8 @@
-option('enable_docs',
+option('gtk_doc',
description: 'Build API reference for Pango using GTK-Doc',
type: 'boolean',
value: false)
-option('gir',
+option('introspection',
description: 'Build the GObject introspection data for Pango',
type: 'boolean',
value: true)
diff --git a/pango/meson.build b/pango/meson.build
index 9dd02bdc..6d35cc32 100644
--- a/pango/meson.build
+++ b/pango/meson.build
@@ -122,7 +122,7 @@ libpango = library(
pango_dep_sources = [pango_enum_h]
-build_gir = get_option('gir')
+build_gir = get_option('introspection')
if build_gir
gir_args = [