mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +02:00
Replace autotools with meson
To introduce much simpler build configuration which is also easier to maintain.
This commit is contained in:
parent
c01152bb38
commit
e9208d693e
26 changed files with 156 additions and 550 deletions
|
|
@ -1 +0,0 @@
|
|||
dist_man_MANS = tio.1
|
||||
17
man/meson.build
Normal file
17
man/meson.build
Normal 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,
|
||||
)
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.TH "tio" "1" "June 2018"
|
||||
.TH "tio" "1" "@version_date@" "tio @version@" "User Commands"
|
||||
|
||||
.SH "NAME"
|
||||
tio \- a simple TTY terminal I/O application
|
||||
Loading…
Add table
Add a link
Reference in a new issue