From: Francesco Chemolli <5175948+kinkie@users.noreply.github.com> Date: Wed, 21 Aug 2024 02:26:51 +0000 (+0000) Subject: Maintenance: split SUBDIRS in Makefile.am (#1888) X-Git-Tag: SQUID_7_0_1~72 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ebbcff227644f07f2addfe58bd7b52d7726fa37c;p=thirdparty%2Fsquid.git Maintenance: split SUBDIRS in Makefile.am (#1888) Single-line multi-entry SUBDIRS often increase management noise. --- diff --git a/Makefile.am b/Makefile.am index 2487ac48f0..ab813e7395 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,13 +7,23 @@ AUTOMAKE_OPTIONS = dist-bzip2 1.5 foreign -SUBDIRS = compat contrib doc errors icons +SUBDIRS = \ + compat \ + contrib \ + doc \ + errors \ + icons if ENABLE_LOADABLE_MODULES SUBDIRS += libltdl endif -SUBDIRS += lib scripts src tools test-suite +SUBDIRS += \ + lib \ + scripts \ + src \ + tools \ + test-suite DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]* DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'` diff --git a/src/Makefile.am b/src/Makefile.am index 3058e6f5f0..9ad4612190 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -17,7 +17,30 @@ LOADABLE_MODULES_SOURCES = \ LoadableModules.h # subdir Y that requires a file built in subdir X must appear after X -SUBDIRS = mem time debug base anyp helper dns html ftp parser comm error eui sbuf acl format clients servers fs repl store DiskIO proxyp +SUBDIRS = \ + mem \ + time \ + debug \ + base \ + anyp \ + helper \ + dns \ + html \ + ftp \ + parser \ + comm \ + error \ + eui \ + sbuf \ + acl \ + format \ + clients \ + servers \ + fs \ + repl \ + store \ + DiskIO \ + proxyp if ENABLE_AUTH SUBDIRS += auth @@ -25,7 +48,13 @@ AUTH_LIBS= auth/libauth.la AUTH_ACL_LIBS= auth/libacls.la endif -SUBDIRS += http ip icmp log ipc mgr +SUBDIRS += \ + http \ + ip \ + icmp \ + log \ + ipc \ + mgr SSL_LIBS= if ENABLE_SSL diff --git a/src/auth/Makefile.am b/src/auth/Makefile.am index 560bf3dadd..f18cbb93ef 100644 --- a/src/auth/Makefile.am +++ b/src/auth/Makefile.am @@ -8,7 +8,11 @@ include $(top_srcdir)/src/Common.am SUBDIRS = $(AUTH_MODULES) -DIST_SUBDIRS = basic digest negotiate ntlm +DIST_SUBDIRS = \ + basic \ + digest \ + negotiate \ + ntlm noinst_LTLIBRARIES = libauth.la libacls.la ## not needed? $(AUTH_LIBS_TO_BUILD) diff --git a/src/auth/digest/Makefile.am b/src/auth/digest/Makefile.am index 0c74ad7d28..d612590ec8 100644 --- a/src/auth/digest/Makefile.am +++ b/src/auth/digest/Makefile.am @@ -7,7 +7,11 @@ include $(top_srcdir)/src/Common.am -DIST_SUBDIRS= eDirectory file LDAP +DIST_SUBDIRS = \ + eDirectory \ + file \ + LDAP + SUBDIRS= $(DIGEST_AUTH_HELPERS) EXTRA_DIST= helpers.m4 diff --git a/src/auth/negotiate/Makefile.am b/src/auth/negotiate/Makefile.am index 558fe3932a..4bd7de1655 100644 --- a/src/auth/negotiate/Makefile.am +++ b/src/auth/negotiate/Makefile.am @@ -7,7 +7,10 @@ include $(top_srcdir)/src/Common.am -DIST_SUBDIRS= kerberos SSPI wrapper +DIST_SUBDIRS = \ + kerberos \ + SSPI \ + wrapper SUBDIRS= $(NEGOTIATE_AUTH_HELPERS) EXTRA_DIST= helpers.m4 diff --git a/src/auth/ntlm/Makefile.am b/src/auth/ntlm/Makefile.am index b2a1176f70..b8896fc684 100644 --- a/src/auth/ntlm/Makefile.am +++ b/src/auth/ntlm/Makefile.am @@ -7,7 +7,10 @@ include $(top_srcdir)/src/Common.am -DIST_SUBDIRS= fake SMB_LM SSPI +DIST_SUBDIRS = \ + fake \ + SMB_LM \ + SSPI SUBDIRS= $(NTLM_AUTH_HELPERS) EXTRA_DIST= helpers.m4 diff --git a/src/http/Makefile.am b/src/http/Makefile.am index a976b2024d..ef91f9bc21 100644 --- a/src/http/Makefile.am +++ b/src/http/Makefile.am @@ -7,7 +7,9 @@ include $(top_srcdir)/src/Common.am -SUBDIRS = one url_rewriters +SUBDIRS = \ + one \ + url_rewriters noinst_LTLIBRARIES = libhttp.la diff --git a/src/http/url_rewriters/Makefile.am b/src/http/url_rewriters/Makefile.am index bff007d6d5..f91b86d2be 100644 --- a/src/http/url_rewriters/Makefile.am +++ b/src/http/url_rewriters/Makefile.am @@ -5,5 +5,7 @@ ## Please see the COPYING and CONTRIBUTORS files for details. ## -DIST_SUBDIRS= fake LFS +DIST_SUBDIRS = \ + fake \ + LFS SUBDIRS= $(URL_REWRITE_HELPERS) diff --git a/src/log/Makefile.am b/src/log/Makefile.am index 44e870bf61..6933f9a281 100644 --- a/src/log/Makefile.am +++ b/src/log/Makefile.am @@ -7,7 +7,9 @@ include $(top_srcdir)/src/Common.am -DIST_SUBDIRS= DB file +DIST_SUBDIRS = \ + DB \ + file SUBDIRS= $(LOG_DAEMON_HELPERS) EXTRA_DIST= helpers.m4 diff --git a/src/security/Makefile.am b/src/security/Makefile.am index df152d5a99..6ec947aa8b 100644 --- a/src/security/Makefile.am +++ b/src/security/Makefile.am @@ -7,7 +7,9 @@ include $(top_srcdir)/src/Common.am -SUBDIRS= cert_generators cert_validators +SUBDIRS = \ + cert_generators \ + cert_validators noinst_LTLIBRARIES = libsecurity.la diff --git a/tools/Makefile.am b/tools/Makefile.am index dc09ace40e..c96f9cf5b3 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -5,5 +5,9 @@ ## Please see the COPYING and CONTRIBUTORS files for details. ## -SUBDIRS = apparmor helper-mux systemd sysvinit +SUBDIRS = \ + apparmor \ + helper-mux \ + systemd \ + sysvinit EXTRA_DIST = helper-ok-dying.pl helper-ok.pl