only install the required man pages

This commit is contained in:
Chris Cromer 2020-08-16 09:31:18 -04:00
parent a545d6b7f4
commit e8d0a906a5
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A
2 changed files with 16 additions and 7 deletions

View File

@ -1,6 +1,15 @@
man_pages = files( man_pages = files()
'tuf-cli.1', if build_cli
'tuf-gui.1', man_pages += files('tuf-cli.1')
'tuf-tray.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) install_man(man_pages)
endif

View File

@ -4,7 +4,7 @@ project(
'c', 'c',
'vala' 'vala'
], ],
version: '1.2.0', version: '1.2.1',
license: 'BSD-3', license: 'BSD-3',
default_options: default_options:
[ [