Commit 2c225946 authored by Ernestas Kulik's avatar Ernestas Kulik

meson: make doc generation opt-in

Since Continuous does not have GTK-Doc and jhbuild users don’t usually
care about generating documentation, it makes sense to disable it by
default.

https://bugzilla.gnome.org/show_bug.cgi?id=779420
parent d4d2fb65
...@@ -116,7 +116,10 @@ subdir ('src') ...@@ -116,7 +116,10 @@ subdir ('src')
subdir ('test') subdir ('test')
subdir ('data') subdir ('data')
subdir ('po') subdir ('po')
subdir ('docs')
if get_option ('enable-gtk-doc')
subdir ('docs')
endif
if get_option ('enable-desktop') if get_option ('enable-desktop')
subdir ('nautilus-desktop') subdir ('nautilus-desktop')
......
...@@ -24,3 +24,6 @@ option ('enable-packagekit', ...@@ -24,3 +24,6 @@ option ('enable-packagekit',
option ('enable-tracker', option ('enable-tracker',
type: 'boolean', type: 'boolean',
value: true) value: true)
option ('enable-gtk-doc',
type: 'boolean',
value: false)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment