aboutsummaryrefslogtreecommitdiff
path: root/init.d.misc/Makefile
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-11 21:54:33 +0000
committerRoy Marples <roy@marples.name>2008-01-11 21:54:33 +0000
commite4e18d21ed67f045b147fe13d80e148b0cc2a0dc (patch)
treefdb9097fba445aeccc31343de116cc8daf05e560 /init.d.misc/Makefile
parentbcbdb0ed1371ee359bc3da948690c2a2d6f597db (diff)
Fix some syslogd pidfile and installing support scripts.
Diffstat (limited to 'init.d.misc/Makefile')
-rw-r--r--init.d.misc/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/init.d.misc/Makefile b/init.d.misc/Makefile
index 693f9134..a2be5470 100644
--- a/init.d.misc/Makefile
+++ b/init.d.misc/Makefile
@@ -14,12 +14,11 @@ VARBASE?= /var
all: ${OBJS}
.in:
- sed -e s':@PREFIX@:${PREFIX}:' -e 's:@VARBASE@:${VARBASE}:' $< > $@
+ sed -e 's:@PREFIX@:${PREFIX}:' -e 's:@VARBASE@:${VARBASE}:' $< > $@
-install: all
- for x in ${OBJS}; do \
- ${INSTALL} work/$$x ${DESTDIR}${DIR}; \
- done
+install: all
+ ${INSTALL} -d ${DESTDIR}${DIR}
+ ${INSTALL} ${OBJS} ${DESTDIR}${DIR}
clean:
rm -f ${OBJS}