mirror of
https://github.com/opnsense/plugins.git
synced 2026-02-03 20:40:37 -05:00
plugins: add support for categories; fixes #1
This commit is contained in:
parent
d6a8de3aa0
commit
7b9ae8bee7
3 changed files with 6 additions and 1 deletions
7
Makefile
7
Makefile
|
|
@ -3,7 +3,12 @@ PAGER?= less
|
|||
all:
|
||||
@cat ${.CURDIR}/README.md | ${PAGER}
|
||||
|
||||
PLUGIN_DIRS!= ls -1d [a-z]*
|
||||
CATEGORIES= devel
|
||||
|
||||
.for CATEGORY in ${CATEGORIES}
|
||||
_PLUGIN_DIRS!= ls -1d ${CATEGORY}/*
|
||||
PLUGIN_DIRS+= ${_PLUGIN_DIRS}
|
||||
.endfor
|
||||
|
||||
list:
|
||||
@echo ${PLUGIN_DIRS}
|
||||
|
|
|
|||
Loading…
Reference in a new issue