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

This commit is contained in:
Christoph Reiter 2019-03-31 13:26:06 +02:00
parent e47440def5
commit 1d40ba250f
2 changed files with 5 additions and 1 deletions

View File

@ -41,6 +41,7 @@ ccache --show-stats
meson \
-Dman-pages=true \
-Dbroadway-backend=true \
_build
ninja -C _build

View File

@ -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')