Respect NO_EXAMPLES

This commit is contained in:
phk 2005-08-05 16:04:54 +00:00
parent 6d09ea8400
commit e5975d2918
2 changed files with 4 additions and 0 deletions

View File

@ -11,7 +11,9 @@ CFLAGS+=-DHAVE_CONFIG_H
DPADD= ${LIBREADLINE} ${LIBTERMCAP}
LDADD= -lreadline -ltermcap
.if !defined (NO_EXAMPLES)
FILES= ckbook.b pi.b primes.b twins.b
FILESDIR= ${SHAREDIR}/examples/bc
.endif
.include <bsd.prog.mk>

View File

@ -1,7 +1,9 @@
# Makefile for dialog
# $FreeBSD$
.if !defined (NO_EXAMPLES)
SUBDIR= TESTS
.endif
PROG= dialog