mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-30 06:46:45 -04:00
ignore terminfo on freebsd, this will be done in ports
This commit is contained in:
parent
39e226e923
commit
18a1787e50
1 changed files with 7 additions and 15 deletions
|
|
@ -1,19 +1,11 @@
|
|||
tic = find_program('tic', native: true)
|
||||
|
||||
tic_generated = custom_target(
|
||||
'terminfo',
|
||||
output: 'f',
|
||||
input: 'foot.info',
|
||||
command: [tic, '-x', '-o', '@OUTDIR@', '-e', 'foot,foot-direct', '@INPUT@'],
|
||||
install: false,
|
||||
install_dir: join_paths(get_option('datadir'), 'terminfo'))
|
||||
|
||||
foreach terminfo : ['foot', 'foot-direct']
|
||||
if host_machine.system() != 'freebsd'
|
||||
custom_target(
|
||||
'terminfo-@0@'.format(terminfo),
|
||||
output: terminfo,
|
||||
input: tic_generated,
|
||||
command: ['cp', join_paths('@INPUT@', terminfo), '@OUTPUT@'],
|
||||
'terminfo',
|
||||
output: 'f',
|
||||
input: 'foot.info',
|
||||
command: [tic, '-x', '-o', '@OUTDIR@', '-e', 'foot,foot-direct', '@INPUT@'],
|
||||
install: true,
|
||||
install_dir: join_paths(get_option('datadir'), 'terminfo', 'f'))
|
||||
endforeach
|
||||
install_dir: join_paths(get_option('datadir'), 'terminfo'))
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue