Skip to content

Commit 88ca736

Browse files
committed
Avoids the installation of test utilities during `make install'
Those utilities are not interesting for the general usage, most likekly it will be used by very retrict number of people whom are likely to compile ModSecurity by their selfs. This issue was reported on #1083
1 parent e0926fe commit 88ca736

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

examples/simple_example_using_c/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
bin_PROGRAMS = test
3+
noinst_PROGRAMS = test
44

55
test_SOURCES = \
66
test.c

test/Makefile.am

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ MAINTAINERCLEANFILES = \
1717
Makefile.in
1818

1919

20-
bin_PROGRAMS = unit-tests regression-tests rules-optimization
20+
bin_PROGRAMS =
21+
noinst_PROGRAMS =
2122

2223

2324
# unit_tests
2425

26+
noinst_PROGRAMS += unit_tests
2527
unit_tests_SOURCES = \
2628
unit/unit.cc \
2729
unit/unit_test.cc
@@ -51,6 +53,7 @@ unit_tests_CPPFLAGS = \
5153

5254
# regression
5355

56+
noinst_PROGRAMS += regression_tests
5457
regression_tests_SOURCES = \
5558
regression/regression.cc \
5659
regression/regression_test.cc \
@@ -81,6 +84,8 @@ regression_tests_CPPFLAGS = \
8184

8285
# optimization
8386

87+
88+
noinst_PROGRAMS += rules_optimization
8489
rules_optimization_SOURCES = \
8590
optimization/optimization.cc
8691

test/benchmark/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
bin_PROGRAMS = benchmark
3+
noinst_PROGRAMS = benchmark
44

55
benchmark_SOURCES = \
66
benchmark.cc

test/fuzzer/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ MAINTAINERCLEANFILES = \
88
Makefile.in
99

1010

11-
bin_PROGRAMS = afl_fuzzer
11+
noinst_PROGRAMS = afl_fuzzer
1212

1313
afl_fuzzer_SOURCES = \
1414
afl_fuzzer.cc

0 commit comments

Comments
 (0)