mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-15 07:00:05 -05:00
man: update man build
This commit is contained in:
parent
ab9b3ba85a
commit
573e032cc1
6 changed files with 32 additions and 406 deletions
24
man/meson.build
Normal file
24
man/meson.build
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
manpage_conf = configuration_data()
|
||||
manpage_conf.set('PACKAGE_NAME', meson.project_name())
|
||||
manpage_conf.set('PACKAGE_VERSION', meson.project_version())
|
||||
manpage_conf.set('PACKAGE_URL', 'http://pipewire.org')
|
||||
manpage_conf.set('top_srcdir', meson.source_root())
|
||||
manpage_conf.set('top_builddir', meson.build_root())
|
||||
|
||||
manpages = ['pipewire.1',
|
||||
'pipewire-monitor.1' ]
|
||||
|
||||
foreach m : manpages
|
||||
infile = m + '.xml.in'
|
||||
outfile = m + '.xml'
|
||||
xml = configure_file(input : infile,
|
||||
output : outfile,
|
||||
configuration : manpage_conf)
|
||||
custom_target(m + '.target',
|
||||
output : m,
|
||||
input : xml,
|
||||
command : [xmltoman, '@INPUT@'],
|
||||
capture : true,
|
||||
install : true,
|
||||
install_dir : 'subdir')
|
||||
endforeach
|
||||
Loading…
Add table
Add a link
Reference in a new issue