From c14849987d893999c03f165b49257e108d07bad3 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 9 Jun 2020 18:19:07 +0200 Subject: Unfold automake variables into multiple lines for maintainability --- test/Makefile.am | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/Makefile.am b/test/Makefile.am index 4519de0..2f5e1b9 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,10 +1,18 @@ -AM_CFLAGS = $(GLOBAL_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)/libcnary/include +AM_CFLAGS = \ + $(GLOBAL_CFLAGS) \ + -I$(top_srcdir)/include \ + -I$(top_srcdir)/libcnary/include + AM_LDFLAGS = -noinst_PROGRAMS = plist_cmp plist_test +noinst_PROGRAMS = \ + plist_cmp \ + plist_test plist_cmp_SOURCES = plist_cmp.c -plist_cmp_LDADD = $(top_builddir)/src/libplist.la $(top_builddir)/libcnary/libcnary.la +plist_cmp_LDADD = \ + $(top_builddir)/src/libplist.la \ + $(top_builddir)/libcnary/libcnary.la plist_test_SOURCES = plist_test.c plist_test_LDADD = $(top_builddir)/src/libplist.la @@ -77,7 +85,9 @@ EXTRA_DIST = \ data/unsigned.bplist \ data/unsigned.plist -TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) top_builddir=$(top_builddir) +TESTS_ENVIRONMENT = \ + top_srcdir=$(top_srcdir) \ + top_builddir=$(top_builddir) clean-local: if test -d $(top_builddir)/test/data; then cd $(top_builddir)/test/data && rm -f *.out *.bin *.xml; fi -- cgit v1.1-32-gdbae