Project

General

Profile

Feature #956 ยป 0036-Meson-Compress-scenarios-on-crosser-builds.patch

Marko Lindqvist, 10/12/2024 11:09 AM

View differences:

meson.build
'tutorial.sav'
]
if host_system != 'windows'
if host_system != 'windows' or crosser
foreach scen : scenarios
scenzip = custom_target('gzip_' + scen,
command: [gzip_exe, '--best', '-n', '-c', '@INPUT@' ],
......
install_dir: join_paths(get_option('datadir'), 'freeciv/scenarios'))
endforeach
else
# Windows - cannot compress at the moment (msys2 gzip on CI failing)
# Windows msys2 - cannot compress at the moment (msys2 gzip on CI failing)
foreach scen : scenarios
install_data(join_paths('data/scenarios', scen),
install_dir: join_paths(get_option('datadir'), 'freeciv/scenarios'))
    (1-1/1)