only print SUBST_MESSAGE if it's defined.
This commit is contained in:
parent
ee3aaf8e1a
commit
f4677e4cb8
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: subst.mk,v 1.3 2003/10/07 10:19:09 jlam Exp $
|
||||
# $NetBSD: subst.mk,v 1.4 2003/12/11 00:05:36 grant Exp $
|
||||
#
|
||||
# This Makefile fragment implements a general text replacement facility
|
||||
# for different classes of files in ${WRKSRC}. For each class of files,
|
||||
|
@ -55,8 +55,10 @@ subst-${_class_}: ${_SUBST_TARGETS.${_class_}}
|
|||
|
||||
.PHONY: subst-${_class_}-message
|
||||
subst-${_class_}-message:
|
||||
.if defined(SUBST_MESSAGE.${_class_})
|
||||
${_PKG_SILENT}${_PKG_DEBUG} \
|
||||
${ECHO_SUBST_MSG} "=> ${SUBST_MESSAGE.${_class_}}"
|
||||
.endif
|
||||
|
||||
.PHONY: subst-${_class_}-cookie
|
||||
subst-${_class_}-cookie:
|
||||
|
|
Loading…
Reference in a new issue