From f2a0af48e5d48ca88e8335ed42e10d018354dae9 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 12 Apr 1997 07:19:09 +0000 Subject: [PATCH] Don't descend into the perl directory if it isn't there (eg: cvsup refuse file), or if NOPERL is defined (eg: in /etc/make.conf) --- gnu/usr.bin/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile index 4364cd4b52c..f3128dfe125 100644 --- a/gnu/usr.bin/Makefile +++ b/gnu/usr.bin/Makefile @@ -1,7 +1,11 @@ -# $Id$ +# $Id: Makefile,v 1.35 1997/02/22 15:43:16 peter Exp $ SUBDIR= as awk bc bison cc cpio cvs dc dialog diff diff3 gdb genclass gperf \ - grep groff gzip ld man patch perl ptx rcs sdiff send-pr \ + grep groff gzip ld man patch ptx rcs sdiff send-pr \ sort tar texinfo +.if !defined(NOPERL) && exists(${.CURDIR}/perl) +SUBDIR+=perl +.endif + .include