1
0
mirror of https://github.com/squid-cache/squid.git synced 2025-04-18 22:04:07 +03:00

Simplify use of DIST_SUBDIRS (#1309)

automake only needs the DIST_SUBDIRS list to be set 'manually' when
the SUBDIRS list is built using AC_SUBST variables.

For Makefile.am which exclusively use AC_CONDITIONAL we can leave
the DIST_SUBDIRS construction to automake.
This commit is contained in:
Amos Jeffries 2023-03-27 10:12:46 +00:00 committed by Squid Anubis
parent d2000809ff
commit ec376e13b3
8 changed files with 5 additions and 17 deletions

View File

@ -6,12 +6,14 @@
##
AUTOMAKE_OPTIONS = dist-bzip2 1.5 foreign
DIST_SUBDIRS = compat lib libltdl scripts icons errors contrib doc src test-suite tools
SUBDIRS = compat lib
SUBDIRS = compat contrib doc errors icons
if ENABLE_LOADABLE_MODULES
SUBDIRS += libltdl
endif
SUBDIRS += scripts icons errors doc 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)/'`

View File

@ -22,8 +22,6 @@ EXTRA_DIST = \
all:
install: install-@host_os@
install-hpux10.10 install-hpux10.20:
$(INSTALL_BIN) $(SQUID_RC) /sbin/init.d/squid
$(INSTALL_FILE) $(SQUID_OPTIONS) /etc/rc.config.d/squid

View File

@ -7,7 +7,6 @@
include $(top_srcdir)/src/Common.am
DIST_SUBDIRS = ntlmauth rfcnb smblib libTrie snmplib
SUBDIRS=
EXTRA_DIST=

View File

@ -8,7 +8,6 @@
include $(top_srcdir)/src/Common.am
include $(top_srcdir)/src/TestHeaders.am
DIST_SUBDIRS = . test
SUBDIRS = . test
noinst_LIBRARIES = libTrie.a

View File

@ -9,7 +9,6 @@ include $(top_srcdir)/src/Common.am
include $(top_srcdir)/src/TestHeaders.am
SUBDIRS=
DIST_SUBDIRS= AIO Blocking DiskDaemon DiskThreads IpcIo Mmapped
noinst_LTLIBRARIES = libdiskio.la

View File

@ -17,17 +17,14 @@ LOADABLE_MODULES_SOURCES = \
LoadableModules.h
SUBDIRS = mem time debug base anyp helper dns ftp parser comm error eui acl format clients sbuf servers fs repl store DiskIO proxyp
DIST_SUBDIRS = mem time debug base anyp helper dns ftp parser comm error eui acl format clients sbuf servers fs repl store DiskIO proxyp
if ENABLE_AUTH
SUBDIRS += auth
AUTH_LIBS= auth/libauth.la
AUTH_ACL_LIBS= auth/libacls.la
endif
DIST_SUBDIRS += auth
SUBDIRS += http ip icmp ident log ipc mgr
DIST_SUBDIRS += http ip icmp ident log ipc mgr
SSL_LIBS=
if ENABLE_SSL
@ -36,7 +33,6 @@ SSL_LIBS += \
ssl/libsslsquid.la \
ssl/libsslutil.la
endif
DIST_SUBDIRS += ssl security
SUBDIRS += security
SNMP_ALL_SOURCE = \
@ -52,12 +48,10 @@ SNMP_LIBS = snmp/libsnmp.la $(SNMPLIB)
else
SNMP_SOURCE =
endif
DIST_SUBDIRS += snmp
if ENABLE_ADAPTATION
SUBDIRS += adaptation
endif
DIST_SUBDIRS += adaptation
if ENABLE_ESI
SUBDIRS += esi
@ -69,7 +63,6 @@ ESI_LIBS = \
else
ESI_LIBS =
endif
DIST_SUBDIRS += esi
DELAY_POOL_ALL_SOURCE = \
BandwidthBucket.cc \

View File

@ -8,7 +8,6 @@
include $(top_srcdir)/src/Common.am
include $(top_srcdir)/src/TestHeaders.am
DIST_SUBDIRS= ecap icap
SUBDIRS =
noinst_LTLIBRARIES = libadaptation.la

View File

@ -9,7 +9,6 @@ include $(top_srcdir)/src/Common.am
include $(top_srcdir)/src/TestHeaders.am
SUBDIRS = one url_rewriters
DIST_SUBDIRS = one url_rewriters
noinst_LTLIBRARIES = libhttp.la