aboutsummaryrefslogtreecommitdiff
path: root/scripts/Makefile
blob: f4e3c68e0acafdd10391a5e75d5a0671f2236c70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
MK=	../mk
include ${MK}/os.mk

DIR=	${LIBEXECDIR}/bin
BIN=	on_ac_power
INSTALLAFTER = _installafter

ifeq (${OS},Linux)
BIN+=	rc-sstat
endif

_installafter:
ifeq (${OS},Linux)
	${INSTALL} -d ${DESTDIR}${SBINDIR}
	ln -s ${DIR}/rc-sstat ${DESTDIR}/${SBINDIR}/rc-sstat
endif

include ${MK}/scripts.mk