From: Jason Ish Date: Tue, 25 May 2021 17:39:31 +0000 (-0600) Subject: makefile: don't include the whole test/ directory X-Git-Tag: suricata-6.0.3~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50d9089eb0f936b369747595c96f14aa3af1865e;p=thirdparty%2Fsuricata.git makefile: don't include the whole test/ directory Including the whole directory results in .deps files ending up in the distribution archive which shouldn't be there. Instead we have to list all the test sources individually. Backport of 70b21df75633253ac8318f229de2f521c14a6630. --- diff --git a/src/Makefile.am b/src/Makefile.am index 670848c70b..ebc8c63b44 100755 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -578,7 +578,71 @@ win32-syslog.h include_HEADERS = \ suricata-plugin.h -EXTRA_DIST = tests +EXTRA_DIST = \ + tests/app-layer-htp-file.c \ + tests/detect-bsize.c \ + tests/detect.c \ + tests/detect-engine-content-inspection.c \ + tests/detect-file-data.c \ + tests/detect-http2.c \ + tests/detect-http-client-body.c \ + tests/detect-http-cookie.c \ + tests/detect-http-header.c \ + tests/detect-http-host.c \ + tests/detect-http-method.c \ + tests/detect-http-raw-header.c \ + tests/detect-http-server-body.c \ + tests/detect-http-stat-code.c \ + tests/detect-http-stat-msg.c \ + tests/detect-http-uri.c \ + tests/detect-http-user-agent.c \ + tests/detect-icmpv4hdr.c \ + tests/detect-icmpv6hdr.c \ + tests/detect-icmpv6-mtu.c \ + tests/detect-ipv4hdr.c \ + tests/detect-ipv6hdr.c \ + tests/detect-parse.c \ + tests/detect-snmp-community.c \ + tests/detect-snmp-pdu_type.c \ + tests/detect-snmp-version.c \ + tests/detect-ssl-state.c \ + tests/detect-ssl-version.c \ + tests/detect-tcphdr.c \ + tests/detect-tcpmss.c \ + tests/detect-template2.c \ + tests/detect-template-buffer.c \ + tests/detect-template.c \ + tests/detect-tls-cert-fingerprint.c \ + tests/detect-tls-cert-issuer.c \ + tests/detect-tls-certs.c \ + tests/detect-tls-cert-serial.c \ + tests/detect-tls-cert-subject.c \ + tests/detect-tls-cert-validity.c \ + tests/detect-tls-ja3-hash.c \ + tests/detect-tls-ja3s-hash.c \ + tests/detect-tls-ja3s-string.c \ + tests/detect-tls-ja3-string.c \ + tests/detect-tls-sni.c \ + tests/detect-tls-version.c \ + tests/detect-transform-pcrexform.c \ + tests/detect-ttl.c \ + tests/detect-udphdr.c \ + tests/fuzz/confyaml.c \ + tests/fuzz/fuzz_applayerparserparse.c \ + tests/fuzz/fuzz_applayerprotodetectgetproto.c \ + tests/fuzz/fuzz_confyamlloadstring.c \ + tests/fuzz/fuzz_decodepcapfile.c \ + tests/fuzz/fuzz_mimedecparseline.c \ + tests/fuzz/fuzz_siginit.c \ + tests/fuzz/fuzz_sigpcap.c \ + tests/fuzz/onefile.c \ + tests/fuzz/oss-fuzz-configure.sh \ + tests/fuzz/README \ + tests/reputation.c \ + tests/source-pcap.c \ + tests/stream-tcp-inline.c \ + tests/stream-tcp-list.c \ + tests/stream-tcp-reassemble.c # set the include path found by configure AM_CPPFLAGS = $(all_includes)