Replace autotools with meson

To introduce much simpler build configuration which is also easier to
maintain.
This commit is contained in:
Martin Lund 2022-02-09 20:50:50 +01:00
parent c01152bb38
commit e9208d693e
26 changed files with 156 additions and 550 deletions

17
man/meson.build Normal file
View file

@ -0,0 +1,17 @@
mandir = join_paths(get_option('prefix'), get_option('mandir'))
man1dir = join_paths(mandir, 'man1')
conf = configuration_data()
conf.set('version', meson.project_version())
conf.set('version_date', version_date)
manpage = configure_file(
input: files('tio.1.in'),
output: 'tio.1',
configuration: conf,
)
install_man(
manpage,
install_dir: man1dir,
)