diff --git a/others/Makefile.am b/others/Makefile.am index 99d41321..87f510cd 100644 --- a/others/Makefile.am +++ b/others/Makefile.am @@ -5,7 +5,7 @@ libinjection_la_SOURCES = \ libinjection/src/libinjection_sqli.c \ libinjection/src/libinjection_xss.c -pkginclude_HEADERS = libinjection/src/libinjection.h \ +noinst_HEADERS = libinjection/src/libinjection.h \ libinjection/src/libinjection_html5.h \ libinjection/src/libinjection_sqli.h \ libinjection/src/libinjection_sqli_data.h \ diff --git a/src/Makefile.am b/src/Makefile.am index cb74c950..671e3644 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -41,7 +41,16 @@ pkginclude_HEADERS = \ ../headers/modsecurity/modsecurity.h \ ../headers/modsecurity/rule.h \ ../headers/modsecurity/rules.h \ - ../headers/modsecurity/rules_properties.h \ + ../headers/modsecurity/rules_properties.h + + +libmodsecurity_includesub_HEADERS = \ + ../headers/modsecurity/collection/collection.h \ + ../headers/modsecurity/collection/collections.h \ + ../headers/modsecurity/collection/variable.h + + +noinst_HEADERS = \ actions/*.h \ actions/transformations/*.h \ audit_log/*.h \ @@ -57,14 +66,6 @@ pkginclude_HEADERS = \ *.h -libmodsecurity_includesub_HEADERS = \ - ../headers/modsecurity/collection/collection.h \ - ../headers/modsecurity/collection/collections.h \ - ../headers/modsecurity/collection/variable.h - - - - VARIABLES = \ variables/duration.cc \ variables/env.cc \ diff --git a/test/Makefile.am b/test/Makefile.am index eed2ca9d..9b0eb91e 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -28,7 +28,7 @@ unit_tests_SOURCES = \ unit/unit.cc \ unit/unit_test.cc -pkginclude_HEADERS = \ +noinst_HEADERS = \ common/modsecurity_test.cc \ common/*.h \ unit/*.h \