]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix distclean file left after rev.14203
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 3 Aug 2015 03:44:59 +0000 (20:44 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 3 Aug 2015 03:44:59 +0000 (20:44 -0700)
src/icmp/Makefile.am

index a83038e670fb344b5084160e8a76901f82d72348..18bfe454a0c09137da5140c58118983533ab2e67 100644 (file)
@@ -37,6 +37,15 @@ libicmp_la_SOURCES = \
        net_db.h \
        net_db.cc
 
+# pinger depends on these but install/dist is done elsewhere.
+COPIED_SOURCE= \
+       debug.cc \
+       globals.cc \
+       SquidConfig.cc \
+       SquidNew.cc \
+       stub_HelperChildConfig.cc \
+       time.cc
+
 # ICMP lookup helper
 pinger_SOURCES = \
        Icmp.h \
@@ -47,17 +56,7 @@ pinger_SOURCES = \
        Icmp6.h \
        Icmp6.cc \
        pinger.cc
-
-# depends on these but install/dist is done elsewhere.
-# TODO: remove when these are cleaned up in their own way.
-nodist_pinger_SOURCES = \
-       debug.cc \
-       globals.cc \
-       SquidConfig.cc \
-       SquidNew.cc \
-       stub_HelperChildConfig.cc \
-       time.cc
-
+nodist_pinger_SOURCES = $(COPIED_SOURCE)
 pinger_LDFLAGS = $(LIBADD_DL)
 pinger_LDADD=\
        libicmp-core.la \
@@ -66,6 +65,8 @@ pinger_LDADD=\
        $(COMPAT_LIB) \
        $(XTRA_LIBS)
 
+CLEANFILES += $(COPIED_SOURCE)
+
 ##install-pinger:
 ##     @f=$(PINGER_EXE); \
 ##     if test -f $(libexecdir)/$$f; then \