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/01e4c18b0db5
branches: trunk
changeset: 358102:01e4c18b0db5
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 c413ea8ce189 -r 01e4c18b0db5 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