mirror of
https://github.com/akpall/akpella.git
synced 2026-02-21 00:26:59 +00:00
Makefile: reworked reset
This commit is contained in:
8
Makefile
8
Makefile
@@ -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} && \
|
||||
|
||||
Reference in New Issue
Block a user