X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=subprojects%2Fgst-rtsp-server%2Fdocs%2Fmeson.build;h=b7245cc267216f7d4f8de2dc7c21e74c1970c89a;hb=8b7b068d53db09597476fe84ce76edc5bb499b48;hp=8060b7495894d982dcb0007de832d0c663bdc772;hpb=8d3c1317b35bf8ffd29316657e37348ba71b95e9;p=platform%2Fupstream%2Fgstreamer.git diff --git a/subprojects/gst-rtsp-server/docs/meson.build b/subprojects/gst-rtsp-server/docs/meson.build index 8060b74..b7245cc 100644 --- a/subprojects/gst-rtsp-server/docs/meson.build +++ b/subprojects/gst-rtsp-server/docs/meson.build @@ -9,6 +9,24 @@ if meson.is_cross_build() subdir_done() endif +if static_build + if get_option('doc').enabled() + error('Documentation enabled but not supported when building statically.') + endif + + message('Building statically, can\'t build the documentation') + subdir_done() +endif + +if not build_gir + if get_option('doc').enabled() + error('Documentation enabled but introspection not built.') + endif + + message('Introspection not built, can\'t build the documentation') + subdir_done() +endif + required_hotdoc_extensions = ['gi-extension', 'gst-extension'] if gst_dep.type_name() == 'internal' gst_proj = subproject('gstreamer') @@ -61,24 +79,6 @@ foreach extension: required_hotdoc_extensions endif endforeach -if static_build - if get_option('doc').enabled() - error('Documentation enabled but not supported when building statically.') - endif - - message('Building statically, can\'t build the documentation') - subdir_done() -endif - -if not build_gir - if get_option('doc').enabled() - error('Documentation enabled but introspection not built.') - endif - - message('Introspection not built, can\'t build the documentation') - subdir_done() -endif - build_hotdoc = true hotdoc = import('hotdoc')