From 661065f375d75e81f69db83da3bb980ba5f8ed9b Mon Sep 17 00:00:00 2001 From: "Lance R. Vick" Date: Fri, 1 Mar 2024 13:39:07 -0800 Subject: [PATCH] fix: replace packages.mk auto-gen for 'gen-make' phony --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 721b3cc..8b3c97e 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,8 @@ digests.txt: out/graph.svg: Makefile $(MAKE) -Bnd | make2graph | dot -Tsvg -o graph.svg -src/packages.mk: out/sxctl/index.json $(shell find packages/*/Containerfile | tr '\n' ' ') +.PHONY: gen-make +gen-make: out/sxctl/index.json $(shell find packages/*/Containerfile | tr '\n' ' ') env -C out/sxctl tar -cf - . | docker load docker run \ --rm \ @@ -61,4 +62,3 @@ src/packages.mk: out/sxctl/index.json $(shell find packages/*/Containerfile | tr --user $(shell id -u):$(shell id -g) \ stagex/sxctl -baseDir=/src gen make touch $@ -