Add initial meson build scripts

This commit is contained in:
Yuxuan Shui
2018-10-15 00:38:21 +01:00
parent aa2098eefd
commit 4094d8b9c4
5 changed files with 114 additions and 1 deletions

8
man/meson.build Normal file
View File

@ -0,0 +1,8 @@
mans = ['compton.1', 'compton-trans.1']
a2x = find_program('a2x')
foreach m : mans
custom_target(m, output: [m], input: [m+'.asciidoc'],
command: [a2x, '--format', 'manpage', '@INPUT@',
'-D', meson.current_build_dir()],
install: true, install_dir: 'share/man/man1/')
endforeach