mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
meson: only build demo manpages when demos are enabled
Installing them even when manpages are enabled, but the demos are disabled, produces manpages for unavailable programs...
This commit is contained in:
parent
d1d009b491
commit
e5b0d225de
@ -70,16 +70,21 @@ if get_option('man-pages') and xsltproc.found()
|
|||||||
man_files = [
|
man_files = [
|
||||||
[ 'gtk4-broadwayd', '1', ],
|
[ 'gtk4-broadwayd', '1', ],
|
||||||
[ 'gtk4-builder-tool', '1', ],
|
[ 'gtk4-builder-tool', '1', ],
|
||||||
[ 'gtk4-demo', '1', ],
|
|
||||||
[ 'gtk4-demo-application', '1', ],
|
|
||||||
[ 'gtk4-encode-symbolic-svg', '1', ],
|
[ 'gtk4-encode-symbolic-svg', '1', ],
|
||||||
[ 'gtk4-icon-browser', '1', ],
|
|
||||||
[ 'gtk4-launch', '1', ],
|
[ 'gtk4-launch', '1', ],
|
||||||
[ 'gtk4-query-settings', '1', ],
|
[ 'gtk4-query-settings', '1', ],
|
||||||
[ 'gtk4-update-icon-cache', '1', ],
|
[ 'gtk4-update-icon-cache', '1', ],
|
||||||
[ 'gtk4-widget-factory', '1', ],
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if get_option('demos')
|
||||||
|
man_files += [
|
||||||
|
[ 'gtk4-demo', '1', ],
|
||||||
|
[ 'gtk4-demo-application', '1', ],
|
||||||
|
[ 'gtk4-widget-factory', '1', ],
|
||||||
|
[ 'gtk4-icon-browser', '1', ],
|
||||||
|
]
|
||||||
|
endif
|
||||||
|
|
||||||
foreach man: man_files
|
foreach man: man_files
|
||||||
man_name = man.get(0)
|
man_name = man.get(0)
|
||||||
man_section = man.get(1, '1')
|
man_section = man.get(1, '1')
|
||||||
|
Loading…
Reference in New Issue
Block a user