From 649365481f136c6ca2291bf2240e6fe2d3e97a58 Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Wed, 6 Jul 2016 07:49:45 +0300 Subject: [PATCH] automake: include all needed files into "make dist" target. --- others/Makefile.am | 6 ++++++ src/Makefile.am | 15 ++++++++++++++- test/Makefile.am | 6 ++++++ 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/others/Makefile.am b/others/Makefile.am index e9211f1c..99d41321 100644 --- a/others/Makefile.am +++ b/others/Makefile.am @@ -4,3 +4,9 @@ libinjection_la_SOURCES = \ libinjection/src/libinjection_html5.c \ libinjection/src/libinjection_sqli.c \ libinjection/src/libinjection_xss.c + +pkginclude_HEADERS = libinjection/src/libinjection.h \ + libinjection/src/libinjection_html5.h \ + libinjection/src/libinjection_sqli.h \ + libinjection/src/libinjection_sqli_data.h \ + libinjection/src/libinjection_xss.h diff --git a/src/Makefile.am b/src/Makefile.am index 480d876c..cb74c950 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -41,7 +41,20 @@ pkginclude_HEADERS = \ ../headers/modsecurity/modsecurity.h \ ../headers/modsecurity/rule.h \ ../headers/modsecurity/rules.h \ - ../headers/modsecurity/rules_properties.h + ../headers/modsecurity/rules_properties.h \ + actions/*.h \ + actions/transformations/*.h \ + audit_log/*.h \ + audit_log/writer/*.h \ + collection/backend/*.h \ + operators/*.h \ + parser/*.h \ + request_body_processor/*.h \ + utils/*.h \ + utils/mbedtls/*.h \ + variables/*.h \ + variables/variations/*.h \ + *.h libmodsecurity_includesub_HEADERS = \ diff --git a/test/Makefile.am b/test/Makefile.am index 60830e8d..66e3c19f 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -25,9 +25,15 @@ noinst_PROGRAMS = noinst_PROGRAMS += unit_tests unit_tests_SOURCES = \ + common/modsecurity_test.cc \ unit/unit.cc \ unit/unit_test.cc +pkginclude_HEADERS = \ + common/*.h \ + unit/*.h \ + regression/*.h + unit_tests_LDADD = \ $(GLOBAL_LDADD) \ $(top_builddir)/src/.libs/libmodsecurity.a \