47606b869e
tests/... is a special snowflake directory and using HAS_TESTS would result in a nasty layering violation between bsd.tests.mk and bsd.prog.mk. Add reachover Makefile.inc's which get the default value from Makefile.inc0 (inspired by gnu/usr.bin/binutils/Makefile.inc0).
22 lines
314 B
Makefile
22 lines
314 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE= tests
|
|
|
|
TESTSDIR= ${TESTSBASE}
|
|
|
|
${PACKAGE}FILES+= README
|
|
|
|
KYUAFILE= yes
|
|
|
|
SUBDIR+= etc
|
|
SUBDIR+= sys
|
|
|
|
SUBDIR_PARALLEL=
|
|
|
|
afterinstall: install-tests-local
|
|
install-tests-local: .PHONY
|
|
${INSTALL_SYMLINK} ../local/tests ${DESTDIR}${TESTSDIR}/local
|
|
|
|
.include "Makefile.inc0"
|
|
.include <bsd.test.mk>
|