Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Instead of checking for obj existance which can be ...



details:   https://anonhg.NetBSD.org/src/rev/768883ab87da
branches:  trunk
changeset: 828403:768883ab87da
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Dec 11 13:08:47 2017 +0000

description:
Instead of checking for obj existance which can be empty for shuttle-rule
programs, check for .sh sources.

diffstat:

 share/mk/bsd.prog.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0929f052454d -r 768883ab87da share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk      Mon Dec 11 11:38:14 2017 +0000
+++ b/share/mk/bsd.prog.mk      Mon Dec 11 13:08:47 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.prog.mk,v 1.309 2017/12/10 15:11:47 christos Exp $
+#      $NetBSD: bsd.prog.mk,v 1.310 2017/12/11 13:08:47 christos Exp $
 #      @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
 
 .ifndef HOSTPROG
@@ -432,7 +432,7 @@
 PROGNAME.${_P}?=       ${_P}
 
 .if ${MKDEBUG:Uno} != "no" && !defined(NODEBUG) && !commands(${_P}) && \
-    !empty(OBJS.${_P})
+    empty(SRCS.${_P}:M*.sh)
 _PROGDEBUG.${_P}:=     ${PROGNAME.${_P}}.debug
 .endif
 



Home | Main Index | Thread Index | Old Index