diff --git a/usr.bin/kyua/Makefile b/usr.bin/kyua/Makefile index a6401e1220a3..2c7ae11c7408 100644 --- a/usr.bin/kyua/Makefile +++ b/usr.bin/kyua/Makefile @@ -1,5 +1,7 @@ # $FreeBSD$ +.include + .include "${SRCTOP}/lib/kyua/Makefile.kyua" .PATH: ${KYUA_SRCDIR} @@ -28,7 +30,11 @@ CFLAGS+= -I${KYUA_SRCDIR} # kyua uses auto_ptr CFLAGS+= -Wno-deprecated-declarations -FILESGROUPS= DOCS EXAMPLES MISC STORE +FILESGROUPS= DOCS MISC STORE + +.if ${MK_EXAMPLES} != "no" +FILESGROUPS+= EXAMPLES +.endif # Install a minimal default config that uses the 'tests' user. # The examples config is not appropriate for general use.