diff options
author | William Hubbs <williamh@gentoo.org> | 2011-10-28 11:14:44 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-10-29 09:43:24 -0500 |
commit | 5066d40ac83fc9036843d670dbf816955b9f40a3 (patch) | |
tree | 9ca229a9816900f0c2864cf0a319a174c4cd36c4 /init.d | |
parent | f94e8836333f6dea142d9a7b29610fcc8d6b12a3 (diff) | |
download | openrc-5066d40ac83fc9036843d670dbf816955b9f40a3.tar.gz openrc-5066d40ac83fc9036843d670dbf816955b9f40a3.tar.bz2 openrc-5066d40ac83fc9036843d670dbf816955b9f40a3.tar.xz |
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.
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/Makefile b/init.d/Makefile index db68154..de8428a 100644 --- a/init.d/Makefile +++ b/init.d/Makefile @@ -37,7 +37,7 @@ SRCS-NetBSD= hostid.in moused.in newsyslog.in pf.in rarpd.in rc-enabled.in \ # These are NetBSD specific SRCS-NetBSD+= devdb.in swap-blk.in ttys.in wscons.in -${SFX}: +%.in: %${SFX} sed ${SED_REPLACE} ${SED_EXTRA} $< > $@ include ${MK}/scripts.mk |