only install the required man pages

This commit is contained in:
2020-08-16 09:31:18 -04:00
parent a545d6b7f4
commit e8d0a906a5
2 changed files with 16 additions and 7 deletions

View File

@@ -1,6 +1,15 @@
man_pages = files(
'tuf-cli.1',
'tuf-gui.1',
'tuf-tray.1'
)
install_man(man_pages)
man_pages = files()
if build_cli
man_pages += files('tuf-cli.1')
endif
if build_gui
man_pages += files('tuf-gui.1')
endif
if build_tray
man_pages += files('tuf-tray.1')
endif
if build_cli or build_gui or build_tray
install_man(man_pages)
endif