[gtk/gtk-3-24-meson] meson: only install broadway man pages if it's enabled



commit bc23a34f92c315353e09b104bb56bf562440b0fd
Author: Christoph Reiter <creiter src gnome org>
Date:   Sun Mar 31 13:26:06 2019 +0200

    meson: only install broadway man pages if it's enabled

 .gitlab-ci/test-msys2-meson.sh | 1 +
 docs/reference/gtk/meson.build | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci/test-msys2-meson.sh b/.gitlab-ci/test-msys2-meson.sh
index 2e5a128f17..23351a2b53 100644
--- a/.gitlab-ci/test-msys2-meson.sh
+++ b/.gitlab-ci/test-msys2-meson.sh
@@ -41,6 +41,7 @@ ccache --show-stats
 
 meson \
     -Dman-pages=true \
+    -Dbroadway-backend=true \
     _build
 
 ninja -C _build
diff --git a/docs/reference/gtk/meson.build b/docs/reference/gtk/meson.build
index 8e54742fa3..f97c545d10 100644
--- a/docs/reference/gtk/meson.build
+++ b/docs/reference/gtk/meson.build
@@ -514,11 +514,14 @@ if get_option('man-pages') and xsltproc.found()
     [ 'gtk3-demo-application', '1', ],
     [ 'gtk3-widget-factory', '1', ],
     [ 'gtk3-icon-browser', '1', ],
-    [ 'broadwayd', '1', ],
     [ 'gtk-builder-tool', '1', ],
     [ 'gtk-query-settings', '1', ],
   ]
 
+  if broadway_enabled
+    man_files += [[ 'broadwayd', '1', ]]
+  endif
+
   foreach man: man_files
     man_name = man.get(0)
     man_section = man.get(1, '1')


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