Respect NO_EXAMPLES
This commit is contained in:
parent
6d09ea8400
commit
e5975d2918
@ -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>
|
||||
|
@ -1,7 +1,9 @@
|
||||
# Makefile for dialog
|
||||
# $FreeBSD$
|
||||
|
||||
.if !defined (NO_EXAMPLES)
|
||||
SUBDIR= TESTS
|
||||
.endif
|
||||
|
||||
PROG= dialog
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user