aboutsummaryrefslogtreecommitdiff
path: root/init.d.misc/Makefile
diff options
context:
space:
mode:
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}