docs: Fix gtk-doc build when wayland is disabled
authorTing-Wei Lan <lantw@src.gnome.org>
Fri, 15 Jun 2018 15:51:15 +0000 (23:51 +0800)
committerTing-Wei Lan <lantw@src.gnome.org>
Fri, 15 Jun 2018 15:51:15 +0000 (23:51 +0800)
commit751c1877b11dfb7baacacdf4ef73acd35c0ccd13
tree0b8c579239fe93c6c662c32f7aa0c28747e69a54
parent66e006083640ed828816dcdf02fef8470ef6e1df
docs: Fix gtk-doc build when wayland is disabled

Unconditionally putting 'gdkwayland_inc' in src_dir argument of gtkdoc
call tells gtkdoc-scan to scan source files in a non-existent build
directory, gdk/wayland. To avoid causing build failure when a specific
backend is disabled, we should include directories conditionally.
docs/reference/gdk/meson.build