move variables to doc's meson.build
This commit is contained in:
parent
bd63b6daf3
commit
4c7aed5135
@ -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,
|
||||
|
@ -10,9 +10,6 @@ project('sernatur',
|
||||
)
|
||||
add_global_arguments('-DGETTEXT_PACKAGE="sernatur"', language: 'c')
|
||||
|
||||
docs_enabled = get_option('valadocs')
|
||||
valadoc = find_program('valadoc', required: docs_enabled)
|
||||
|
||||
subdir('po')
|
||||
subdir('data')
|
||||
subdir('src')
|
||||
|
Loading…
Reference in New Issue
Block a user