From 61c476e72d7da6866ea9e3ba6a8d1e7bb295b7aa Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 3 Mar 2008 12:34:51 +0000 Subject: Use exlicit make targets, not directory contents. --- init.d.misc/Makefile | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) (limited to 'init.d.misc/Makefile') diff --git a/init.d.misc/Makefile b/init.d.misc/Makefile index a2be5470..100c701c 100644 --- a/init.d.misc/Makefile +++ b/init.d.misc/Makefile @@ -1,24 +1,6 @@ -DIR= /etc/init.d -_SRCS!= ls *.in -SRCS?= ${_SRCS}$(shell ls *.in) -OBJS= ${SRCS:.in=} +DIR= /etc/init.d +SRCS= avahi-dnsconfd.in avahi.in dbus.in hald.in named.in ntpd.in \ + openvpn.in polkitd.in sshd.in -MK= ../mk -include ${MK}/os.mk +include ${MK}/scripts.mk include Makefile.${OS} - -VARBASE?= /var - -.SUFFIXES: .in - -all: ${OBJS} - -.in: - sed -e 's:@PREFIX@:${PREFIX}:' -e 's:@VARBASE@:${VARBASE}:' $< > $@ - -install: all - ${INSTALL} -d ${DESTDIR}${DIR} - ${INSTALL} ${OBJS} ${DESTDIR}${DIR} - -clean: - rm -f ${OBJS} -- cgit v1.2.3