aboutsummaryrefslogtreecommitdiff
path: root/init.d.misc/Makefile
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-03 12:34:51 +0000
committerRoy Marples <roy@marples.name>2008-03-03 12:34:51 +0000
commit61c476e72d7da6866ea9e3ba6a8d1e7bb295b7aa (patch)
tree4c25b370cf7d61cee6a2fa3c8344bf7322a173ff /init.d.misc/Makefile
parent0aedc0286040b595119b4523d38ffd35b0018d6c (diff)
Use exlicit make targets, not directory contents.
Diffstat (limited to 'init.d.misc/Makefile')
-rw-r--r--init.d.misc/Makefile26
1 files changed, 4 insertions, 22 deletions
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}