From 2159de82e21cdd7a35487d29dc16bb85ecc10725 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Fri, 27 Jan 2023 01:01:07 +0100 Subject: [PATCH] build: Rename a script for consistency Prefixing all the Meson adapter scripts with 'meson_' makes their names more self-explanatory and helps to locate them. https://github.com/containers/toolbox/pull/1216 --- completion/meson.build | 8 ++++---- ...erate_completions.py => meson_generate_completions.py} | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename completion/{generate_completions.py => meson_generate_completions.py} (100%) diff --git a/completion/meson.build b/completion/meson.build index e6bdff4..7183b68 100644 --- a/completion/meson.build +++ b/completion/meson.build @@ -1,10 +1,10 @@ -generate_completions_program = find_program('generate_completions.py') +meson_generate_completions_program = find_program('meson_generate_completions.py') if bashcompletionsdir != '' custom_target( 'bash-completion', capture: true, - command: [generate_completions_program, meson.global_source_root() / 'src', 'bash'], + command: [meson_generate_completions_program, meson.global_source_root() / 'src', 'bash'], depends: [toolbox_go], install: true, install_dir: bashcompletionsdir, @@ -16,7 +16,7 @@ if fishcompletionsdir != '' custom_target( 'fish-completion', capture: true, - command: [generate_completions_program, meson.global_source_root() / 'src', 'fish'], + command: [meson_generate_completions_program, meson.global_source_root() / 'src', 'fish'], depends: [toolbox_go], install: true, install_dir: fishcompletionsdir, @@ -27,7 +27,7 @@ endif custom_target( 'zsh-completion', capture: true, - command: [generate_completions_program, meson.global_source_root() / 'src', 'zsh'], + command: [meson_generate_completions_program, meson.global_source_root() / 'src', 'zsh'], depends: [toolbox_go], install: true, install_dir: zshcompletionsdir, diff --git a/completion/generate_completions.py b/completion/meson_generate_completions.py similarity index 100% rename from completion/generate_completions.py rename to completion/meson_generate_completions.py