Module Name: src
Committed By: christos
Date: Mon Dec 11 13:08:47 UTC 2017
Modified Files:
src/share/mk: bsd.prog.mk
Log Message:
Instead of checking for obj existance which can be empty for shuttle-rule
programs, check for .sh sources.
To generate a diff of this commit:
cvs rdiff -u -r1.309 -r1.310 src/share/mk/bsd.prog.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/mk/bsd.prog.mk
diff -u src/share/mk/bsd.prog.mk:1.309 src/share/mk/bsd.prog.mk:1.310
--- src/share/mk/bsd.prog.mk:1.309 Sun Dec 10 10:11:47 2017
+++ src/share/mk/bsd.prog.mk Mon Dec 11 08:08:47 2017
@@ -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 @@ BINDIR.${_P}?= ${BINDIR}
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