fix: make default
This commit is contained in:
parent
3d3077dc4e
commit
ee459617c5
1 changed files with 20 additions and 15 deletions
35
Makefile
35
Makefile
|
@ -13,26 +13,20 @@ NOCACHE_FLAG=
|
|||
endif
|
||||
export NOCACHE_FLAG
|
||||
clean_logs := $(shell rm *.log 2>&1 >/dev/null || :)
|
||||
|
||||
DEFAULT_GOAL := default
|
||||
.PHONY: default
|
||||
default: all
|
||||
|
||||
include src/macros.mk
|
||||
include src/packages.mk
|
||||
include src/groups.mk
|
||||
|
||||
# Commented out until sxctl supports new folder layout
|
||||
#src/packages.mk: out/sxctl/index.json $(shell find packages/*/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
|
||||
default: compat digests.txt
|
||||
|
||||
.PHONY: all
|
||||
all: $(shell find packages/* -type d -exec sh -c 'basename {} | tr "\n" " "' \; )
|
||||
all: \
|
||||
compat \
|
||||
$(shell find packages/* -type d -exec sh -c 'basename {} | tr "\n" " "' \; ) \
|
||||
digests.txt
|
||||
|
||||
.PHONY: compat
|
||||
compat:
|
||||
|
@ -54,3 +48,14 @@ digests.txt: all
|
|||
|
||||
out/graph.svg: Makefile
|
||||
$(MAKE) -Bnd | make2graph | dot -Tsvg -o graph.svg
|
||||
|
||||
# Commented out until sxctl supports new folder layout
|
||||
#src/packages.mk: out/sxctl/index.json $(shell find packages/*/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 $@
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue