build: support split packaging for buffyboard and unl0kr
This commit is contained in:
parent
69a6b6ee8b
commit
426f849b72
6 changed files with 83 additions and 23 deletions
|
|
@ -2,7 +2,24 @@ progscdoc = depscdoc.get_variable(pkgconfig: 'scdoc')
|
|||
|
||||
foreach file : [
|
||||
'buffyboard.1',
|
||||
'buffyboard.conf.5',
|
||||
'buffyboard.conf.5'
|
||||
]
|
||||
|
||||
section = file.split('.')[-1]
|
||||
|
||||
custom_target(file,
|
||||
command: progscdoc,
|
||||
feed: true,
|
||||
capture: true,
|
||||
input: file + '.scd',
|
||||
output: file,
|
||||
install: true,
|
||||
install_dir: get_option('mandir') / 'man' + section,
|
||||
install_tag: 'buffyboard'
|
||||
)
|
||||
endforeach
|
||||
|
||||
foreach file : [
|
||||
'unl0kr.1',
|
||||
'unl0kr.conf.5'
|
||||
]
|
||||
|
|
@ -16,6 +33,7 @@ foreach file : [
|
|||
input: file + '.scd',
|
||||
output: file,
|
||||
install: true,
|
||||
install_dir: get_option('mandir') / 'man' + section
|
||||
install_dir: get_option('mandir') / 'man' + section,
|
||||
install_tag: 'unl0kr'
|
||||
)
|
||||
endforeach
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue