mirror of
https://github.com/opnsense/plugins.git
synced 2026-02-03 20:40:37 -05:00
make: minor alignment to directory definitions
Belong to defaults so common should not offer them.
This commit is contained in:
parent
a0b64a64bd
commit
73ff21ea76
3 changed files with 10 additions and 10 deletions
|
|
@ -23,9 +23,4 @@
|
|||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
|
||||
WRKDIR?=${.CURDIR}/work
|
||||
WRKSRC?=${WRKDIR}/src
|
||||
PKGDIR?=${WRKDIR}/pkg
|
||||
MFCDIR?=/tmp/mfc.dir
|
||||
|
||||
.-include "${PLUGINSDIR}/../core/Mk/common.mk"
|
||||
|
|
|
|||
|
|
@ -92,3 +92,9 @@ SED_REPLACE= # empty
|
|||
.for REPLACEMENT in ${REPLACEMENTS}
|
||||
SED_REPLACE+= -e "s=%%${REPLACEMENT}%%=${${REPLACEMENT}}=g"
|
||||
.endfor
|
||||
|
||||
WRKDIR?= ${.CURDIR}/work
|
||||
MFCDIR?= /tmp/mfc.dir
|
||||
PKGDIR?= ${WRKDIR}/pkg
|
||||
WRKSRC?= ${WRKDIR}/src
|
||||
TESTDIR?= ${.CURDIR}/src/opnsense/mvc/tests
|
||||
|
|
|
|||
|
|
@ -354,11 +354,10 @@ revision:
|
|||
@MAKE=${MAKE} ${SCRIPTSDIR}/revbump.sh ${.CURDIR}
|
||||
|
||||
test: check
|
||||
@if [ -d ${.CURDIR}/src/opnsense/mvc/tests ]; then \
|
||||
cd ${LOCALBASE}/opnsense/mvc/tests && \
|
||||
phpunit --configuration PHPunit.xml \
|
||||
${.CURDIR}/src/opnsense/mvc/tests; \
|
||||
fi
|
||||
.if exists(${TESTDIR})
|
||||
@cd ${TESTDIR} && phpunit || true; \
|
||||
rm -rf ${TESTDIR}/.phpunit.result.cache
|
||||
.endif
|
||||
|
||||
commit:
|
||||
@mkdir -p ${MFCDIR}
|
||||
|
|
|
|||
Loading…
Reference in a new issue