[doc] Don’t automatically skip building docs on Windows
Respect the option setting.
This commit is contained in:
parent
0066e824f0
commit
1f3c042ff5
|
@ -61,6 +61,7 @@ jobs:
|
||||||
meson build \
|
meson build \
|
||||||
--wrap-mode=nodownload \
|
--wrap-mode=nodownload \
|
||||||
--auto-features=enabled \
|
--auto-features=enabled \
|
||||||
|
-Ddocs=disabled \
|
||||||
-Ddirectwrite=enabled \
|
-Ddirectwrite=enabled \
|
||||||
-Dgdi=enabled \
|
-Dgdi=enabled \
|
||||||
-Dgraphite=enabled \
|
-Dgraphite=enabled \
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
if build_machine.system() == 'windows'
|
|
||||||
message('Skipping gtk-doc while building on Windows')
|
|
||||||
subdir_done()
|
|
||||||
endif
|
|
||||||
|
|
||||||
if not find_program('gtkdoc-scan', required: get_option('docs')).found()
|
if not find_program('gtkdoc-scan', required: get_option('docs')).found()
|
||||||
message('Not building documentation as gtk-doc was not found')
|
message('Not building documentation as gtk-doc was not found')
|
||||||
subdir_done()
|
subdir_done()
|
||||||
|
|
Loading…
Reference in New Issue