45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Service creation targets
. if !target(${service}_status)
${service}_status: ${_SERVICE_STATUS}
. endif
# Service exit targets
. if !target(${service}_exit)
${service}_exit: ${_SERVICE_EXIT}
. endif
DAEMON_EXIT: ${service}_exit
.endfor
.MAIN: ${SCRIPTS} ${TARGETS}
|
|
|
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Service creation targets
. if !target(${service}_status)
${service}_status: ${_SERVICE_STATUS}
. endif
# Service exit targets
. if !target(${service}_exit)
${service}_exit: ${_SERVICE_EXIT} ${DAEMON_${service}_DEPS:S/$/_exit/}
. endif
DAEMON_EXIT: ${service}_exit
.endfor
.MAIN: ${SCRIPTS} ${TARGETS}
|