Ddeepin-ci-robotchore: init
781dfa83创建于 2023年9月8日历史提交
help2man = find_program('help2man')

mans = [
  ['timeshift', [help2man, '--output=@OUTPUT@', timeshift]],
  ['timeshift-gtk', [help2man, '--output=@OUTPUT@', timeshift_gtk]],
]

foreach man: mans
  custom_target(
    man[0],
    output: man[0] + '.1',
    command: man[1],
    install: true,
    install_dir: join_paths(get_option('mandir'), 'man1'),
  )
endforeach