2007-12-14 14:12:38 +00:00
|
|
|
# OpenRC Makefile
|
2008-03-26 17:53:37 +00:00
|
|
|
# Copyright 2007-2008 Roy Marples <roy@marples.name>
|
|
|
|
# All rights reserved. Released under the 2-clause BSD license.
|
2007-04-05 11:18:42 +00:00
|
|
|
|
2008-01-10 16:35:59 +00:00
|
|
|
NAME= openrc
|
2008-04-15 16:09:02 +00:00
|
|
|
VERSION= 0.2.2
|
2008-01-10 16:35:59 +00:00
|
|
|
PKG= ${NAME}-${VERSION}
|
2007-04-05 11:18:42 +00:00
|
|
|
|
2008-03-02 21:14:01 +00:00
|
|
|
SUBDIR= conf.d doc etc init.d man net sh src
|
|
|
|
# We need to ensure that runlevels is done last
|
|
|
|
SUBDIR+= runlevels
|
2007-04-05 11:18:42 +00:00
|
|
|
|
2008-01-10 16:35:59 +00:00
|
|
|
INSTALLAFTER= _installafter
|
2008-01-10 16:48:02 +00:00
|
|
|
|
|
|
|
MK= mk
|
2008-01-11 18:29:47 +00:00
|
|
|
include ${MK}/sys.mk
|
2008-01-10 16:48:02 +00:00
|
|
|
include ${MK}/os.mk
|
|
|
|
include ${MK}/subdir.mk
|
|
|
|
include ${MK}/dist.mk
|
2008-03-03 13:04:08 +00:00
|
|
|
include ${MK}/gitignore.mk
|
2008-01-10 16:57:05 +00:00
|
|
|
|
|
|
|
_installafter:
|
2008-03-01 22:12:33 +00:00
|
|
|
${INSTALL} -d ${DESTDIR}/${PREFIX}/${RC_LIB}/init.d
|
|
|
|
${INSTALL} -d ${DESTDIR}/${PREFIX}/${RC_LIB}/tmp
|