1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
MK= ../mk include ${MK}/os.mk DIR= ${LIBEXECDIR}/bin BIN= on_ac_power INSTALLAFTER = _installafter ifeq (${OS},Linux) SRCS+= rc-sstat.in BIN+= rc-sstat endif _installafter: ifeq (${OS},Linux) ${INSTALL} -d ${DESTDIR}${SBINDIR} ln -sf ${DIR}/rc-sstat ${DESTDIR}/${SBINDIR}/rc-sstat endif include ${MK}/scripts.mk