summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-08-05 16:04:54 +0000
committerphk <phk@FreeBSD.org>2005-08-05 16:04:54 +0000
commite5975d2918fa14b2ceb15153b915b3ede61a6356 (patch)
tree9a5d12982071a16311e5309ae1c4fc55352ba3a8
parent6d09ea8400a72acbe24a4cb92fa324700f2fee17 (diff)
downloadFreeBSD-src-e5975d2918fa14b2ceb15153b915b3ede61a6356.zip
FreeBSD-src-e5975d2918fa14b2ceb15153b915b3ede61a6356.tar.gz
Respect NO_EXAMPLES
-rw-r--r--gnu/usr.bin/bc/Makefile2
-rw-r--r--gnu/usr.bin/dialog/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/bc/Makefile b/gnu/usr.bin/bc/Makefile
index 4786ebf..ed3838e 100644
--- a/gnu/usr.bin/bc/Makefile
+++ b/gnu/usr.bin/bc/Makefile
@@ -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>
diff --git a/gnu/usr.bin/dialog/Makefile b/gnu/usr.bin/dialog/Makefile
index c30dff7..08c0158 100644
--- a/gnu/usr.bin/dialog/Makefile
+++ b/gnu/usr.bin/dialog/Makefile
@@ -1,7 +1,9 @@
# Makefile for dialog
# $FreeBSD$
+.if !defined (NO_EXAMPLES)
SUBDIR= TESTS
+.endif
PROG= dialog
OpenPOWER on IntegriCloud