Lines of
Makefile
from check-in 47c6cc1171
that are changed by the sequence of edits moving toward
check-in 716b0393df:
1: .include "/etc/mrc.conf"
2: .export
3:
47c6cc1171 2019-10-20 4: DAEMONIZER?=svc.daemon
5:
6: #.MAKE.JOBS?=2
47c6cc1171 2019-10-20 7: .SILENT:
47c6cc1171 2019-10-20 8:
47c6cc1171 2019-10-20 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:
47c6cc1171 2019-10-20 22: DAEMON:
23: .endif
24:
25: TARGETS:=${SCRIPTS:S/.init//:S/.service//}
26:
27: .MAIN: ${TARGETS}
28:
47c6cc1171 2019-10-20 29: .PHONY: ${TARGETS} _daemon _service
30:
31: .for file in ${SCRIPTS}
32: .include "${file}"
33: .endfor