mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
139202c0e3
Their rules come with a different license, hence the note "for non-commercial use". More information about the ruleset and license https://github.com/ptresearch/AttackDetection
33 lines
566 B
Makefile
33 lines
566 B
Makefile
PAGER?= less
|
|
|
|
all:
|
|
@cat ${.CURDIR}/README.md | ${PAGER}
|
|
|
|
CATEGORIES= devel net sysutils security
|
|
|
|
.for CATEGORY in ${CATEGORIES}
|
|
_${CATEGORY}!= ls -1d ${CATEGORY}/*
|
|
PLUGIN_DIRS+= ${_${CATEGORY}}
|
|
.endfor
|
|
|
|
list:
|
|
.for PLUGIN_DIR in ${PLUGIN_DIRS}
|
|
@echo ${PLUGIN_DIR}
|
|
.endfor
|
|
|
|
list-full:
|
|
.for PLUGIN_DIR in ${PLUGIN_DIRS}
|
|
@echo -n ${PLUGIN_DIR} '-- '
|
|
@${MAKE} -C ${PLUGIN_DIR} -V PLUGIN_COMMENT
|
|
.endfor
|
|
|
|
lint:
|
|
.for PLUGIN_DIR in ${PLUGIN_DIRS}
|
|
${MAKE} -C ${PLUGIN_DIR} lint
|
|
.endfor
|
|
|
|
sweep:
|
|
.for PLUGIN_DIR in ${PLUGIN_DIRS}
|
|
${MAKE} -C ${PLUGIN_DIR} sweep
|
|
.endfor
|