ignore terminfo on freebsd, this will be done in ports

This commit is contained in:
Alexander Sieg 2020-05-07 22:42:06 +02:00
parent 39e226e923
commit 18a1787e50

View file

@ -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