mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
Vera++ and ccpcheck are not outputing to the stderr instead stdout allowing the buildbot to extract some numbers about it.
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
ACLOCAL_AMFLAGS = -I build
|
||
SUBDIRS = @TOPLEVEL_SUBDIRS@ tests
|
||
|
||
CLEANFILES =
|
||
MAINTAINERCLEANFILES =
|
||
|
||
CLEANFILES += tests/regression/server_root/conf/*.t_*.conf \
|
||
tests/regression/server_root/logs/*.log
|
||
|
||
MAINTAINERCLEANFILES += $(CLEANFILES) \
|
||
Makefile.in \
|
||
aclocal.m4 \
|
||
alp2/Makefile.in \
|
||
apache2/Makefile.in \
|
||
build/config.guess \
|
||
build/config.sub \
|
||
build/depcomp \
|
||
build/libtool.m4 \
|
||
build/ltmain.sh \
|
||
build/ltoptions.m4 \
|
||
build/ltsugar.m4 \
|
||
build/ltversion.m4 \
|
||
build/lt~obsolete.m4 \
|
||
build/missing \
|
||
configure \
|
||
ext/Makefile.in \
|
||
mlogc/Makefile.in \
|
||
modsecurity_config_auto.h.in~ \
|
||
config.log \
|
||
Makefile \
|
||
config.status
|
||
|
||
# Alias for "check"
|
||
test: check
|
||
|
||
test-regression:
|
||
(cd tests && $(MAKE) test-regression)
|
||
|
||
cppcheck:
|
||
cppcheck . --enable=all --force
|
||
|
||
check-coding-style:
|
||
vera++ -rule L004 -param max-line-length=80 `(find . -iname "*.c" ; find . -iname "*.h") | xargs`
|
||
vera++ -rule L001 `(find . -iname "*.c" ; find . -iname "*.h") | xargs`
|
||
|
||
.PHONY: test
|