From 4a7c06b1a3bb10a3b95e17f995b01c63f5fcdbde Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 23 Aug 2004 16:36:00 +0000 Subject: Actually, it's okay if SUBST_FILTER_CMD is empty... the ${SUBST_COOKIE} target takes care of this case already. --- mk/subst.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/subst.mk') diff --git a/mk/subst.mk b/mk/subst.mk index d5f0bc72b7a..a934911f69b 100644 --- a/mk/subst.mk +++ b/mk/subst.mk @@ -1,4 +1,4 @@ -# $NetBSD: subst.mk,v 1.14 2004/08/23 16:35:11 jlam Exp $ +# $NetBSD: subst.mk,v 1.15 2004/08/23 16:36:00 jlam Exp $ # # This Makefile fragment implements a general text replacement facility. # Package makefiles define a ``class'', for each of which a paricular @@ -47,7 +47,7 @@ _SUBST_COOKIE.${_class_}= ${WRKDIR}/.subst_${_class_}_done SUBST_FILTER_CMD.${_class_}?= ${SED} ${SUBST_SED.${_class_}} SUBST_POSTCMD.${_class_}?= ${RM} -f $$file${_SUBST_BACKUP_SUFFIX} . else -SUBST_FILTER_CMD.${_class_}?= ${CAT} +SUBST_FILTER_CMD.${_class_}?= # empty . endif SUBST_TARGETS+= subst-${_class_} -- cgit v1.2.3