Merge pull request #143 from Rafostar/symlink

meson: Create symlink to bin named simply "clapper"
This commit is contained in:
Rafał Dzięgiel
2021-08-26 18:17:05 +02:00
committed by GitHub

View File

@@ -22,3 +22,9 @@ foreach id_postfix : clapper_apps
install_mode: 'rwxr-xr-x'
)
endforeach
clapper_symlink_cmd = 'ln -fs @0@ @1@'.format(
'com.github.rafostar.Clapper',
join_paths(get_option('prefix'), get_option('bindir'), 'clapper')
)
meson.add_install_script('sh', '-c', clapper_symlink_cmd)