diff --git a/help/meson.build b/help/meson.build index 5e0393bd..ec3e5b6f 100644 --- a/help/meson.build +++ b/help/meson.build @@ -1,3 +1,5 @@ -gnome.yelp('sysprof', - sources: ['index.page', 'introduction.page', 'profiling.page', 'faq.page', 'legal.xml'], -) +if get_option('help') + gnome.yelp('sysprof', + sources: ['index.page', 'introduction.page', 'profiling.page', 'faq.page', 'legal.xml'], + ) +endif diff --git a/meson_options.txt b/meson_options.txt index b04a0d4a..fd0c9d10 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -23,3 +23,6 @@ option('systemdunitdir', type: 'string', option('debugdir', type: 'string', description: 'Look for global separate debug info in this path' ) + +# If Yelp documentation should be installed +option('help', type: 'boolean')