From 45decb85630571e8222f26cb9f8df5db14747338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Thu, 26 Aug 2021 17:41:14 +0200 Subject: [PATCH] meson: Create symlink to bin named simply "clapper" --- bin/meson.build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/meson.build b/bin/meson.build index 055bd3cb..005b2eec 100644 --- a/bin/meson.build +++ b/bin/meson.build @@ -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)