fix: recursive packages.mk build
This commit is contained in:
parent
1cdabc180e
commit
2b5d338f29
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -16,13 +16,14 @@ clean_logs := $(shell rm *.log 2>&1 >/dev/null || :)
|
|||
include src/macros.mk
|
||||
include src/packages.mk
|
||||
|
||||
src/packages.mk: sxctl $(shell find src/*/*/Containerfile | tr '\n' ' ')
|
||||
src/packages.mk: out/sxctl/index.json $(shell find src/*/*/Containerfile | tr '\n' ' ')
|
||||
env -C out/sxctl tar -cf - . | docker load
|
||||
docker run \
|
||||
--rm \
|
||||
--volume .:/src \
|
||||
--user $(shell id -u):$(shell id -g) \
|
||||
stagex/sxctl -baseDir=/src gen make
|
||||
touch $@
|
||||
|
||||
DEFAULT_GOAL := default
|
||||
.PHONY: default
|
||||
|
|
Loading…
Reference in a new issue