mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Meson cleanup
This commit is contained in:
parent
f788ae2ca4
commit
d4c3751405
3 changed files with 5 additions and 9 deletions
|
|
@ -8,10 +8,8 @@ conf.set('version_date', version_date)
|
||||||
manpage = configure_file(
|
manpage = configure_file(
|
||||||
input: files('tio.1.in'),
|
input: files('tio.1.in'),
|
||||||
output: 'tio.1',
|
output: 'tio.1',
|
||||||
configuration: conf,
|
configuration: conf)
|
||||||
)
|
|
||||||
|
|
||||||
install_man(
|
install_man(
|
||||||
manpage,
|
manpage,
|
||||||
install_dir: man1dir,
|
install_dir: man1dir)
|
||||||
)
|
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,7 @@ conf.set('baudrates', baudrates)
|
||||||
|
|
||||||
completion_file = configure_file( input: files('tio.in'),
|
completion_file = configure_file( input: files('tio.in'),
|
||||||
output: 'tio',
|
output: 'tio',
|
||||||
configuration: conf,
|
configuration: conf )
|
||||||
)
|
|
||||||
|
|
||||||
bashcompletiondir = get_option('bashcompletiondir')
|
bashcompletiondir = get_option('bashcompletiondir')
|
||||||
if bashcompletiondir == ''
|
if bashcompletiondir == ''
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ tio_sources = [
|
||||||
'misc.c',
|
'misc.c',
|
||||||
'tty.c',
|
'tty.c',
|
||||||
'print.c'
|
'print.c'
|
||||||
]
|
]
|
||||||
|
|
||||||
if tcgets2 != ''
|
if tcgets2 != ''
|
||||||
tio_sources += 'setspeed2.c'
|
tio_sources += 'setspeed2.c'
|
||||||
|
|
@ -19,7 +19,6 @@ endif
|
||||||
|
|
||||||
executable('tio',
|
executable('tio',
|
||||||
tio_sources,
|
tio_sources,
|
||||||
install: true,
|
install: true )
|
||||||
)
|
|
||||||
|
|
||||||
subdir('bash-completion')
|
subdir('bash-completion')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue