From: Takashi Sakamoto Date: Wed, 16 Mar 2022 00:03:48 +0000 (+0900) Subject: meson: minor code refactoring for option of documentation X-Git-Tag: v0.3.0~248 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=10e89561e92af9c154160dbd20b75bca47cb2d22;p=alsa-gobject.git meson: minor code refactoring for option of documentation This commit arranges subdirectory inclusion for documentation. Signed-off-by: Takashi Sakamoto --- diff --git a/doc/meson.build b/doc/meson.build index b7c4082..ead14c4 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -1,3 +1 @@ -if get_option('doc') - subdir('reference') -endif +subdir('reference') diff --git a/meson.build b/meson.build index db6316f..f1ed032 100644 --- a/meson.build +++ b/meson.build @@ -8,4 +8,7 @@ gnome = import('gnome') subdir('src') subdir('tests') -subdir('doc') + +if get_option('doc') + subdir('doc') +endif