pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk only print SUBST_MESSAGE if it's defined.
details: https://anonhg.NetBSD.org/pkgsrc/rev/566263307f8c
branches: trunk
changeset: 464490:566263307f8c
user: grant <grant%pkgsrc.org@localhost>
date: Thu Dec 11 00:05:36 2003 +0000
description:
only print SUBST_MESSAGE if it's defined.
diffstat:
mk/subst.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 185beded2348 -r 566263307f8c mk/subst.mk
--- a/mk/subst.mk Wed Dec 10 23:07:41 2003 +0000
+++ b/mk/subst.mk Thu Dec 11 00:05:36 2003 +0000
@@ -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 @@
.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:
Home |
Main Index |
Thread Index |
Old Index