Respect NO_EXAMPLES

This commit is contained in:
Poul-Henning Kamp 2005-08-05 16:04:54 +00:00
parent 718e387c34
commit 3291b357d2
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