patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob 2d6d2682df2ed070b3f6075913fcfc0e6a803bbb 1076 bytes (raw)
name: lib/targets.mk 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
# SPDX-License-Identifier: EUPL-1.2+
# SPDX-FileCopyrightText: 2021, 2023, 2024, 2025 Alyssa Ross <hi@alyssa.is>
# SPDX-FileCopyrightText: 2025 Demi Marie Obenour <demiobenour@gmail.com>

build/fifo:
	mkdir -p build
	mkfifo -m 0600 $@

build/empty:
	mkdir -p $@

# s6-rc-compile's input is a directory, but that doesn't play nice
# with Make, because it won't know to update if some file in the
# directory is changed, or a file is created or removed in a
# subdirectory.  Using the whole source directory could also end up
# including files that aren't intended to be part of the input, like
# temporary editor files or .license files.  So for all these reasons,
# only explicitly listed files are made available to s6-rc-compile.
build/etc/s6-rc: $(S6_RC_FILES) file-list.mk
	mkdir -p $$(dirname $@)
	rm -rf $@
	set -uo pipefail && dir=$$(mktemp -d) && \
	    { tar -c $(S6_RC_FILES) $(S6_RC_LINKS) | tar -C $$dir -x --strip-components 3; } && \
	    s6-rc-compile $@ $$dir; \
	    exit=$$?; rm -r $$dir; exit $$exit

clean:
	-chmod -Rf +w build
	rm -rf build
.PHONY: clean

debug log:

solving 2d6d2682df2ed070b3f6075913fcfc0e6a803bbb ...
found 2d6d2682df2ed070b3f6075913fcfc0e6a803bbb in https://inbox.spectrum-os.org/spectrum-devel/20260711-cgroups-v3-2-5cba61a20cba@gmail.com/

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20260711-cgroups-v3-2-5cba61a20cba@gmail.com/
diff --git a/lib/targets.mk b/lib/targets.mk
new file mode 100644
index 0000000000000000000000000000000000000000..2d6d2682df2ed070b3f6075913fcfc0e6a803bbb

Checking patch lib/targets.mk...
Applied patch lib/targets.mk cleanly.

index at:
100644 2d6d2682df2ed070b3f6075913fcfc0e6a803bbb	lib/targets.mk

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).