move variables to doc's meson.build

This commit is contained in:
2018-10-25 16:55:22 -03:00
parent bd63b6daf3
commit 4c7aed5135
2 changed files with 3 additions and 4 deletions

View File

@@ -1,5 +1,7 @@
docs_deps = get_option('valadocs_deps')
docs_enabled = get_option('valadocs')
valadoc = find_program('valadoc', required: docs_enabled)
if docs_enabled
docs_deps = get_option('valadocs_deps')
if docs_deps
custom_target('valadoc',
input: vala_sources,