Check-in [4361bde8b2]
Logged in as anonymous
Overview
Comment:fix service detection
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4361bde8b20e01a34a70bb7022e4e85378e3661399cc74e02d46d07fb1911314
User & Date: arcade on 2022-05-29 11:35:14.979
Other Links: manifest | tags
Context
2022-05-29
11:36
configure parallel exec check-in: fff2fbe553 user: arcade tags: trunk
11:35
fix service detection check-in: 4361bde8b2 user: arcade tags: trunk
11:33
fix startup flags check-in: 8bf9550f99 user: arcade tags: trunk
Changes
Modified Makefile from [e41ea1fc6e] to [4b1a082d4f].
9
10
11
12
13
14
15
16
17
18
19
20
21
22

23
24
25
26
27
28
29
9
10
11
12
13
14
15

16
17
18
19
20
21
22
23
24
25
26
27
28
29







-






+







.include "${starter}"
.endfor

.if !target(_service) || !target(_earlyservice)
.error No service handler defined.
.endif

#.MAKE.JOBS?=2
.SILENT:

install:
	install rc /etc/rc

SCRIPTS=${:!find /etc/mrc -name '*.service.mk'!:S/\/etc\/mrc\///}
TARGETS:=${SCRIPTS:S/.service.mk//}

.if defined(AUTOBOOT)
.include "init.mk"

.ERROR:
	: ERROR: ABORTING BOOT (sending SIGTERM to parent)!
	: target ${.ERROR_TARGET} failed to execute:
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
41
42
43
44
45
46
47


48
49
50
51
52
53
54







-
-







netif:
newsyslog:
.endif

test:
	echo Empty target.

TARGETS:=${SCRIPTS:S/.service.mk//}

.for file in ${SCRIPTS}
#.info ${file}
.include "${file}"
.if !target(${file:S/.service.mk//})
${file:S/.service.mk//}: _service
.endif
.if !target(${file:S/.service.mk/_status/})