meson: Create symlink to bin named simply "clapper"

This commit is contained in:
Rafał Dzięgiel
2021-08-26 17:41:14 +02:00
parent 0edab83f86
commit 45decb8563

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)