From 5c800aaec1aead48f0984c2fd9b2ee12e619ceeb Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 23 Aug 2004 09:01:57 +0000 Subject: SUBST_FILTER_CMD can't be empty. It must be a real filter cmd, so default it to ${CAT} as a fall-through. --- 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 6531c799a99..605e97c7dc6 100644 --- a/mk/subst.mk +++ b/mk/subst.mk @@ -1,4 +1,4 @@ -# $NetBSD: subst.mk,v 1.12 2004/06/06 04:22:23 schmonz Exp $ +# $NetBSD: subst.mk,v 1.13 2004/08/23 09:01:57 jlam Exp $ # # This Makefile fragment implements a general text replacement facility. # Package makefiles define a ``class'', for each of which a paricular @@ -45,7 +45,7 @@ _SUBST_COOKIE.${_class_}= ${WRKDIR}/.subst_${_class_}_done SUBST_FILTER_CMD.${_class_}?= ${SED} ${SUBST_SED.${_class_}} SUBST_POSTCMD.${_class_}?= ${RM} -f $$file.subst.sav . else -SUBST_FILTER_CMD.${_class_}?= # empty +SUBST_FILTER_CMD.${_class_}?= ${CAT} . endif SUBST_TARGETS+= subst-${_class_} -- cgit v1.2.3