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 = find_program('tic', native: true)
|
||||||
|
|
||||||
tic_generated = custom_target(
|
if host_machine.system() != 'freebsd'
|
||||||
'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']
|
|
||||||
custom_target(
|
custom_target(
|
||||||
'terminfo-@0@'.format(terminfo),
|
'terminfo',
|
||||||
output: terminfo,
|
output: 'f',
|
||||||
input: tic_generated,
|
input: 'foot.info',
|
||||||
command: ['cp', join_paths('@INPUT@', terminfo), '@OUTPUT@'],
|
command: [tic, '-x', '-o', '@OUTDIR@', '-e', 'foot,foot-direct', '@INPUT@'],
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: join_paths(get_option('datadir'), 'terminfo', 'f'))
|
install_dir: join_paths(get_option('datadir'), 'terminfo'))
|
||||||
endforeach
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue