From 1f0d078c83643352a8d2bd1b947f29b44406088e Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Fri, 6 Sep 2019 15:51:04 +0200 Subject: [PATCH] build: tweak formatting of multi-line variables in Makefiles Don't put a tab between the asignment and the first string - just move the whole list one line below. Signed-off-by: Bartosz Golaszewski --- bindings/cxx/examples/Makefile.am | 13 +++++++------ bindings/cxx/tests/Makefile.am | 17 +++++++++-------- bindings/python/examples/Makefile.am | 11 ++++++----- tests/Makefile.am | 17 +++++++++-------- 4 files changed, 31 insertions(+), 27 deletions(-) diff --git a/bindings/cxx/examples/Makefile.am b/bindings/cxx/examples/Makefile.am index a66296b..8d39be2 100644 --- a/bindings/cxx/examples/Makefile.am +++ b/bindings/cxx/examples/Makefile.am @@ -10,12 +10,13 @@ AM_CPPFLAGS = -I$(top_srcdir)/bindings/cxx/ -I$(top_srcdir)/include AM_CPPFLAGS += -Wall -Wextra -g -std=gnu++11 AM_LDFLAGS = -lgpiodcxx -L$(top_builddir)/bindings/cxx/ -noinst_PROGRAMS = gpiodetectcxx \ - gpiofindcxx \ - gpiogetcxx \ - gpioinfocxx \ - gpiomoncxx \ - gpiosetcxx +noinst_PROGRAMS = \ + gpiodetectcxx \ + gpiofindcxx \ + gpiogetcxx \ + gpioinfocxx \ + gpiomoncxx \ + gpiosetcxx gpiodetectcxx_SOURCES = gpiodetectcxx.cpp diff --git a/bindings/cxx/tests/Makefile.am b/bindings/cxx/tests/Makefile.am index 5800a23..5fa8f95 100644 --- a/bindings/cxx/tests/Makefile.am +++ b/bindings/cxx/tests/Makefile.am @@ -15,11 +15,12 @@ AM_LDFLAGS += -pthread bin_PROGRAMS = gpiod-cxx-test -gpiod_cxx_test_SOURCES = gpiod-cxx-test-main.cpp \ - gpiod-cxx-test.cpp \ - gpio-mockup.cpp \ - gpio-mockup.hpp \ - tests-chip.cpp \ - tests-event.cpp \ - tests-iter.cpp \ - tests-line.cpp +gpiod_cxx_test_SOURCES = \ + gpiod-cxx-test-main.cpp \ + gpiod-cxx-test.cpp \ + gpio-mockup.cpp \ + gpio-mockup.hpp \ + tests-chip.cpp \ + tests-event.cpp \ + tests-iter.cpp \ + tests-line.cpp diff --git a/bindings/python/examples/Makefile.am b/bindings/python/examples/Makefile.am index 0703e81..a0e06c0 100644 --- a/bindings/python/examples/Makefile.am +++ b/bindings/python/examples/Makefile.am @@ -6,9 +6,10 @@ # Copyright (C) 2017-2018 Bartosz Golaszewski # -EXTRA_DIST = gpiodetect.py \ - gpiofind.py \ - gpioget.py \ - gpioinfo.py \ - gpiomon.py \ +EXTRA_DIST = \ + gpiodetect.py \ + gpiofind.py \ + gpioget.py \ + gpioinfo.py \ + gpiomon.py \ gpioset.py diff --git a/tests/Makefile.am b/tests/Makefile.am index eb6f41e..d761d60 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -19,14 +19,15 @@ LDADD += $(GLIB_LIBS) bin_PROGRAMS = gpiod-test -gpiod_test_SOURCES = gpiod-test.c \ - gpiod-test.h \ - tests-chip.c \ - tests-ctxless.c \ - tests-event.c \ - tests-iter.c \ - tests-line.c \ - tests-misc.c +gpiod_test_SOURCES = \ + gpiod-test.c \ + gpiod-test.h \ + tests-chip.c \ + tests-ctxless.c \ + tests-event.c \ + tests-iter.c \ + tests-line.c \ + tests-misc.c all-local: gpiod-test @echo " ********************************************************" -- 2.30.2