/
githubmirror
/
toolbox
Обзор
Документация
Войти
/
githubmirror
/
toolbox
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
doc/meson.build
39 строк
689 B
Debarshi Ray
build: Replace join_paths with the / operator
21 окт 2022, 18:24
21 окт 2022, 18:24
8b2d25f
Код
Авторство
О чём код?
go_md2man_command = [ go_md2man, '-in', '@INPUT@', '-out', '@OUTPUT@', ] manuals = { '1': [ 'toolbox', 'toolbox-create', 'toolbox-enter', 'toolbox-init-container', 'toolbox-help', 'toolbox-list', 'toolbox-rm', 'toolbox-rmi', 'toolbox-run', ], '5': [ 'toolbox.conf', ] } foreach section, pages: manuals foreach page: pages output = page + '.' + section input = output + '.md' sectiondir = 'man' + section custom_target( output, command: go_md2man_command, input: input, install: true, install_dir: get_option('mandir') / sectiondir, output: output, ) endforeach endforeach