diff mbox series

[libgpiod,1/2] examples: fix typo in Makefile.am

Message ID 20230629101455.127795-2-warthog618@gmail.com
State New
Headers show
Series minor build warning fixes | expand

Commit Message

Kent Gibson June 29, 2023, 10:14 a.m. UTC
The trailing "s" is missing from "toggle_multiple_line_values" in
several places, so add it.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
---
 examples/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bartosz Golaszewski June 30, 2023, noon UTC | #1
On Thu, Jun 29, 2023 at 12:15 PM Kent Gibson <warthog618@gmail.com> wrote:
>
> The trailing "s" is missing from "toggle_multiple_line_values" in
> several places, so add it.
>
> Signed-off-by: Kent Gibson <warthog618@gmail.com>
> ---
>  examples/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/examples/Makefile.am b/examples/Makefile.am
> index daf902b..e92f303 100644
> --- a/examples/Makefile.am
> +++ b/examples/Makefile.am
> @@ -37,7 +37,7 @@ reconfigure_input_to_output_SOURCES = reconfigure_input_to_output.c
>
>  toggle_line_value_SOURCES = toggle_line_value.c
>
> -toggle_multiple_line_value_SOURCES = toggle_multiple_line_value.c
> +toggle_multiple_line_values_SOURCES = toggle_multiple_line_values.c
>
>  watch_line_info_SOURCES = watch_line_info.c
>
> --
> 2.41.0
>

I'm wondering if we should just drop these as autotools will default
to using a single source file named after the target executable if
foobar_SOURCES is not defined. (iow: if the target is foobar and no
foobar_SOURCES is defined, then it will try foobar.c).

Bart
diff mbox series

Patch

diff --git a/examples/Makefile.am b/examples/Makefile.am
index daf902b..e92f303 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -37,7 +37,7 @@  reconfigure_input_to_output_SOURCES = reconfigure_input_to_output.c
 
 toggle_line_value_SOURCES = toggle_line_value.c
 
-toggle_multiple_line_value_SOURCES = toggle_multiple_line_value.c
+toggle_multiple_line_values_SOURCES = toggle_multiple_line_values.c
 
 watch_line_info_SOURCES = watch_line_info.c