fix: replace packages.mk auto-gen for 'gen-make' phony

This commit is contained in:
Lance R. Vick 2024-03-01 13:39:07 -08:00
parent 46e9d04b73
commit 661065f375
No known key found for this signature in database
GPG key ID: 8E47A1EC35A1551D

View file

@ -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 $@