From 5066d40ac83fc9036843d670dbf816955b9f40a3 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 28 Oct 2011 11:14:44 -0500 Subject: Use pattern rules instead of suffix rules Rework the makefiles to use pattern rules instead of suffix rules. This is the preferred way to write implicit rules according to the gnu make manual. --- sh/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sh/Makefile') diff --git a/sh/Makefile b/sh/Makefile index c15c79e0..f7147802 100644 --- a/sh/Makefile +++ b/sh/Makefile @@ -6,7 +6,6 @@ BIN= gendepends.sh init.sh runscript.sh ${BIN-${OS}} INSTALLAFTER= _installafter -SFX_PFX= .sh MK= ../mk include ${MK}/os.mk @@ -21,7 +20,7 @@ BIN-NetBSD= ifwatchd-carrier.sh ifwatchd-nocarrier.sh include ${MK}/scripts.mk -${SFX}.sh: +%.sh: %.sh${SFX} ${SED} ${SED_REPLACE} ${SED_EXTRA} $< > $@ _installafter: -- cgit v1.2.3