From df39c2dc2c745401cebeff908a8c2c6f7b77d1cc Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 9 Jul 2015 15:49:47 +0200 Subject: [PATCH] plugins: fix include and indexing after category intro; #1 --- Makefile | 6 +++--- devel/test/Makefile | 2 +- sysutils/vmware/Makefile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 3a085d8d0..cc07079af 100644 --- a/Makefile +++ b/Makefile @@ -3,11 +3,11 @@ PAGER?= less all: @cat ${.CURDIR}/README.md | ${PAGER} -CATEGORIES= devel +CATEGORIES= devel sysutils .for CATEGORY in ${CATEGORIES} -_PLUGIN_DIRS!= ls -1d ${CATEGORY}/* -PLUGIN_DIRS+= ${_PLUGIN_DIRS} +_${CATEGORY}!= ls -1d ${CATEGORY}/* +PLUGIN_DIRS+= ${_${CATEGORY}} .endfor list: diff --git a/devel/test/Makefile b/devel/test/Makefile index 4896b63fb..4e3ae1b23 100644 --- a/devel/test/Makefile +++ b/devel/test/Makefile @@ -4,4 +4,4 @@ PLUGIN_DESC= A test package PLUGIN_DEPENDS= git vim-lite tmux PLUGIN_MAINTAINER= franco@opnsense.org -.include "../Mk/plugins.mk" +.include "../../Mk/plugins.mk" diff --git a/sysutils/vmware/Makefile b/sysutils/vmware/Makefile index 5f7d299f8..c82d7b473 100644 --- a/sysutils/vmware/Makefile +++ b/sysutils/vmware/Makefile @@ -4,4 +4,4 @@ PLUGIN_DESC= VMware tools wrapper PLUGIN_DEPENDS= open-vm-tools-nox11 PLUGIN_MAINTAINER= franco@opnsense.org -.include "../Mk/plugins.mk" +.include "../../Mk/plugins.mk"