From 7cd764c0751696593991cab08f5a1a202a78c25b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 15 Feb 2024 03:22:52 +0100 Subject: [PATCH] build: Expose powerprofilesctl script and load it using files --- src/meson.build | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/meson.build b/src/meson.build index 88b8ff6..3f59dd3 100644 --- a/src/meson.build +++ b/src/meson.build @@ -104,15 +104,14 @@ executable('power-profiles-daemon', install_dir: libexecdir ) -script = 'powerprofilesctl' -install_data(script, +powerprofilesctl = files('powerprofilesctl') +install_data(powerprofilesctl, install_dir: get_option('bindir') ) -script = join_paths(meson.current_source_dir(), script) if get_option('pylint') test('pylint-powerprofilesctl', pylint, - args: pylint_flags + [ script ], + args: pylint_flags + [ powerprofilesctl ], env: nomalloc, ) endif