From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1A47310F232 for ; Thu, 14 Apr 2022 12:25:30 +0000 (UTC) From: Mauro Carvalho Chehab To: igt-dev@lists.freedesktop.org, Petri Latvala Date: Thu, 14 Apr 2022 14:24:55 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH v3 05/12] scripts/meson.build: install code coverage scripts List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ch Sai Gowtham , Andrzej Hajda Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Mauro Carvalho Chehab Those scripts are needed at runtime. So, place them under bindir. Reviewed-by: Andrzej Hajda Signed-off-by: Mauro Carvalho Chehab --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/12] at: https://lore.kernel.org/all/cover.1649939026.git.mchehab@kernel.org/ meson.build | 1 + scripts/meson.build | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 scripts/meson.build diff --git a/meson.build b/meson.build index f9a284d844a3..3e937f5a5b98 100644 --- a/meson.build +++ b/meson.build @@ -315,6 +315,7 @@ if libdrm_intel.found() endif subdir('overlay') subdir('man') +subdir('scripts') gtk_doc = dependency('gtk-doc', required : build_docs) if build_tests and gtk_doc.found() diff --git a/scripts/meson.build b/scripts/meson.build new file mode 100644 index 000000000000..342972e66078 --- /dev/null +++ b/scripts/meson.build @@ -0,0 +1,13 @@ +scripts = [ + 'code_cov_capture', + 'code_cov_gather_on_build', + 'code_cov_gather_on_test', + 'code_cov_gen_report', + 'code_cov_parse_info', +] + +if build_tests + foreach prog : scripts + install_data(prog, install_dir : bindir, install_mode : 'r-xr-xr-x') + endforeach +endif -- 2.35.1