[gtk/wip.win32.fixes: 15/16] docs: Only build doc-shooter when X11 is enabled




commit 23fc554422a811e78ae39d647df85025974a9452
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Feb 14 11:21:59 2022 +0800

    docs: Only build doc-shooter when X11 is enabled
    
    It currently depends on X11 items to build.

 docs/tools/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/docs/tools/meson.build b/docs/tools/meson.build
index d9a9afb359..cf93483356 100644
--- a/docs/tools/meson.build
+++ b/docs/tools/meson.build
@@ -1,4 +1,4 @@
-if get_option('gtk_doc')
+if get_option('gtk_doc') and x11_enabled
   doc_shooter_resources = gnome.compile_resources('shooter_resources',
                                                   'shooter.gresource.xml',
                                                   source_dir: '.')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]