diff options
author | Ernestas Kulik <ernestask@src.gnome.org> | 2017-03-01 18:08:50 +0200 |
---|---|---|
committer | Ernestas Kulik <ernestask@src.gnome.org> | 2017-03-01 18:15:20 +0200 |
commit | 2c22594624f04d781e192b35412e2d20e9a04aba (patch) | |
tree | e49183d2d6761e18dcd2c85039233c2ec8ead375 /meson.build | |
parent | d4d2fb655f38578fe3e341175a8177c70dadadce (diff) | |
download | nautilus-2c22594624f04d781e192b35412e2d20e9a04aba.tar.gz |
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
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 25910c7d6..d8ae100bd 100644 --- a/meson.build +++ b/meson.build @@ -116,7 +116,10 @@ subdir ('src') subdir ('test') subdir ('data') subdir ('po') -subdir ('docs') + +if get_option ('enable-gtk-doc') + subdir ('docs') +endif if get_option ('enable-desktop') subdir ('nautilus-desktop') |