mirror of
https://codeberg.org/adnano/wmenu.git
synced 2025-10-31 22:25:28 -04:00
Initial commit
This commit is contained in:
commit
2f1c189d53
13 changed files with 1825 additions and 0 deletions
26
docs/meson.build
Normal file
26
docs/meson.build
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
scdoc_dep = dependency('scdoc', version: '>=1.9.2', native: true)
|
||||
|
||||
if scdoc_dep.found()
|
||||
scdoc = find_program(
|
||||
scdoc_dep.get_pkgconfig_variable('scdoc'),
|
||||
native: true,
|
||||
)
|
||||
mandir = get_option('mandir')
|
||||
|
||||
docs = [
|
||||
'wmenu.1',
|
||||
]
|
||||
|
||||
foreach path : docs
|
||||
custom_target(
|
||||
path,
|
||||
output: path,
|
||||
input: '@0@.scd'.format(path),
|
||||
capture: true,
|
||||
feed: true,
|
||||
command: [scdoc],
|
||||
install: true,
|
||||
install_dir: '@0@/man1'.format(mandir)
|
||||
)
|
||||
endforeach
|
||||
endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue