Lines of
Makefile
from check-in f95fc3334e
that are changed by the sequence of edits moving toward
check-in 47c6cc1171:
1: .include "/etc/mrc.conf"
2: .export
3:
4: DAEMONIZER?=svc.daemon
5:
6: #.MAKE.JOBS?=2
f95fc3334e 2019-10-20 7: #.SILENT:
8:
9: .include "${DAEMONIZER}"
10:
11: .if defined(AUTOBOOT)
12: SCRIPTS=${:!find /etc/mrc -name '*.init' -o -name '*.service'!:S/\/etc\/mrc\///}
13:
14: .ERROR:
15: : ERROR: ABORTING BOOT (sending SIGTERM to parent)!
16: : target ${.ERROR_TARGET} failed to execute:
17: : ${.ERROR_CMD}
18: kill 1
19: .else
20: SCRIPTS=${:!find /etc/mrc -name '*.service'!:S/\/etc\/mrc\///}
21:
22: DAEMON:
23: .endif
24:
f95fc3334e 2019-10-20 25: TARGETS=${SCRIPTS:S/.init//:S/.service//}
26:
27: .MAIN: ${TARGETS}
28:
29: .PHONY: ${TARGETS} _daemon _service
30:
31: .for file in ${SCRIPTS}
32: .include "${file}"
33: .endfor