2008-03-25 17:17:15 +00:00
|
|
|
DIR= ${PREFIX}/${RC_LIB}/sh
|
2008-06-21 14:10:59 +00:00
|
|
|
SRCS= functions.sh.in gendepends.sh.in init-common-post.sh.in \
|
2008-03-03 12:34:51 +00:00
|
|
|
rc-functions.sh.in runscript.sh.in
|
2008-02-27 20:29:32 +00:00
|
|
|
INC= init-common-post.sh rc-mount.sh functions.sh rc-functions.sh
|
2008-04-29 10:25:45 +00:00
|
|
|
BIN= gendepends.sh init.sh runscript.sh
|
2007-04-05 11:18:42 +00:00
|
|
|
|
2008-01-13 17:49:29 +00:00
|
|
|
INSTALLAFTER= _installafter
|
|
|
|
|
2008-01-10 16:35:59 +00:00
|
|
|
MK= ../mk
|
2008-03-25 14:06:05 +00:00
|
|
|
include ${MK}/os.mk
|
|
|
|
include Makefile.${OS}
|
2008-01-10 16:57:05 +00:00
|
|
|
include ${MK}/scripts.mk
|
|
|
|
|
2008-01-10 16:35:59 +00:00
|
|
|
_installafter:
|
2008-03-25 17:19:41 +00:00
|
|
|
${INSTALL} -d ${DESTDIR}/${INITDIR}
|
2008-01-10 16:35:59 +00:00
|
|
|
@# Put functions.sh into the init.d dir so 3rd party apps don't have to
|
2008-01-03 14:49:34 +00:00
|
|
|
@# be multilib aware
|
2008-03-25 17:11:44 +00:00
|
|
|
ln -snf ${PREFIX}/${RC_LIB}/sh/functions.sh ${DESTDIR}/${INITDIR} || exit $$?
|
2008-03-24 07:17:05 +00:00
|
|
|
|
|
|
|
check test::
|
|
|
|
./runtests.sh
|