From: Roy Marples Date: Mon, 19 May 2008 23:22:44 +0000 (+0000) Subject: Move the SUFFIXES to them. X-Git-Tag: v4.0.2~374 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67929494570fa1d6ec89a940059ca4242d53087a;p=thirdparty%2Fdhcpcd.git Move the SUFFIXES to them. --- diff --git a/Makefile b/Makefile index 9e73c1c8..4c8a2c2d 100644 --- a/Makefile +++ b/Makefile @@ -20,8 +20,6 @@ CLEANFILES+= dhcpcd.sh FILES= dhcpcd.conf FILESDIR= ${SYSCONFDIR} -.SUFFIXES: .in .sh.in - MK= mk include ${MK}/prog.mk @@ -29,6 +27,8 @@ CFLAGS+= -DSYSCONFDIR=\"${SYSCONFDIR}\" CFLAGS+= -DDBDIR=\"${DBDIR}\" LDADD+= ${LIBRT} +.SUFFIXES: .in .sh.in + .in: ${SED} 's:@SYSCONFDIR@:${SYSCONFDIR}:g; s:@DBDIR@:${DBDIR}:g' $< > $@