aboutsummaryrefslogtreecommitdiff
path: root/init.d/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/Makefile')
-rw-r--r--init.d/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/init.d/Makefile b/init.d/Makefile
index a9f62e25..b670eacb 100644
--- a/init.d/Makefile
+++ b/init.d/Makefile
@@ -3,7 +3,14 @@ SRCS= bootmisc.in fsck.in halt.sh.in hostname.in local.in localmount.in \
netmount.in root.in swap.in sysctl.in urandom.in
BIN= ${OBJS}
+INSTALLAFTER= _installafter
+CLEANFILES+= net.lo
+TARGETS+= net.lo
+
MK= ../mk
include ${MK}/os.mk
include Makefile.${OS}
include ${MK}/scripts.mk
+
+_installafter: net.lo
+ ${INSTALL} -m ${BINMODE} net.lo ${DESTDIR}/${INITDIR}/${NET_LO}