1
0
mirror of https://github.com/akpall/akpella.git synced 2026-02-21 08:36:59 +00:00

Makefile: reworked reset

This commit is contained in:
2026-02-10 05:14:18 +02:00
parent 37a1a4384c
commit 85cee95a50

View File

@@ -5,6 +5,11 @@ default:
$(MAKE) config.json
.PHONY: default
reset:
$(MAKE) default
$(MAKE) .reset
.PHONY: reset
.generate-files-list: $(FILES)
if ! echo $(FILES) | diff -q .files-list - >/dev/null 2>&1; then \
echo $(FILES) > .files-list; \
@@ -36,9 +41,6 @@ config.json: config.yaml .files-list $(FILES)
ssh -o ControlPath=/tmp/ssh_mux_%h_%p_%r -O exit akpella;
touch .reset
reset: .reset
.PHONY: reset
update:
VER=$$(curl -fsSL https://stable.release.flatcar-linux.net/amd64-usr/current/version.txt | grep FLATCAR_VERSION= | cut -d = -f 2) && \
echo $${VER} && \