plugins/Makefile
Franco Fichtner fb6c960756 dns: migrated plugins from core
(cherry picked from commit 4c57c258f17c70ff0a207e4b4ca5f924f433ac57)
(cherry picked from commit 594a1f829c502c813e92a825d4394310ef5990b2)
(cherry picked from commit 5a9b5bbcb9e7885b5e261da551d7434d91937fdb)
2017-06-25 15:18:30 +02:00

26 lines
514 B
Makefile

PAGER?= less
all:
@cat ${.CURDIR}/README.md | ${PAGER}
CATEGORIES= devel dns net net-mgmt sysutils security www
.for CATEGORY in ${CATEGORIES}
_${CATEGORY}!= ls -1d ${CATEGORY}/*
PLUGIN_DIRS+= ${_${CATEGORY}}
.endfor
list:
.for PLUGIN_DIR in ${PLUGIN_DIRS}
@echo ${PLUGIN_DIR} -- $$(${MAKE} -C ${PLUGIN_DIR} -V PLUGIN_COMMENT)
.endfor
TARGETS= lint sweep style style-fix clean
.for TARGET in ${TARGETS}
${TARGET}:
. for PLUGIN_DIR in ${PLUGIN_DIRS}
@${MAKE} -C ${PLUGIN_DIR} ${TARGET}
. endfor
.endfor