summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2011-04-21 14:26:33 +0000
committerjoerg <joerg@NetBSD.org>2011-04-21 14:26:33 +0000
commit0851c42d2b3e6384bf7efb20bb68633d7212dbfc (patch)
tree5d1047886f021ff9ab3034a2f8c9ac9a170aca17 /gnu
parentdfd036bff5b2754dfe1ca9df81c6c11df6d4161d (diff)
Add MKBSDGREP switch for easy testing of the GNU grep
replacement/alternative.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile
index c28a95407a7..f53c5573b91 100644
--- a/gnu/usr.bin/Makefile
+++ b/gnu/usr.bin/Makefile
@@ -1,12 +1,16 @@
-# $NetBSD: Makefile,v 1.133 2010/07/06 05:59:51 mrg Exp $
+# $NetBSD: Makefile,v 1.134 2011/04/21 14:26:34 joerg Exp $
.include <bsd.own.mk>
SUBDIR+= bc
SUBDIR+= c89 c99
-SUBDIR+= dc diffutils gkermit grep
+SUBDIR+= dc diffutils gkermit
SUBDIR+= rcs send-pr texinfo
+.if ${MKBSDGREP} == "no"
+SUBDIR+= grep
+.endif
+
.if ${MKGROFF} != "no"
SUBDIR+= groff
.endif