mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 19:27:33 +00:00
tools/alpine and tools/guestfs are omitted since they do not currently use pkg/package.mk and do their own thing. Slightly hacky arrangements are made for these. Note that previously they were only recursed into for their default target (push) and that behaviour is retained. Signed-off-by: Ian Campbell <ijc@docker.com>
26 lines
822 B
Makefile
26 lines
822 B
Makefile
DIRS = $(dir $(shell find . -maxdepth 2 -mindepth 2 -type f -name build.yml))
|
|
# These have more complex builds which have not yet been ported to linuxkit pkg.
|
|
# No more entries should be added to this list.
|
|
# Note that these are only recursed on for the push target which was the historical behaviour.
|
|
MAKEDIRS = alpine guestfs
|
|
|
|
.PHONY: push forcepush tag forcetag show-tag clean
|
|
|
|
push:
|
|
@set -e; for d in $(DIRS); do linuxkit pkg push "$$d"; done
|
|
@set -e; for d in $(MAKEDIRS); do make -C "$$d" push; done
|
|
|
|
forcepush:
|
|
@set -e; for d in $(DIRS); do linuxkit pkg push --force "$$d"; done
|
|
|
|
tag:
|
|
@set -e; for d in $(DIRS); do linuxkit pkg build "$$d"; done
|
|
|
|
forcetag:
|
|
@set -e; for d in $(DIRS); do linuxkit pkg build --force "$$d"; done
|
|
|
|
show-tag:
|
|
@set -e; for d in $(DIRS); do linuxkit pkg show-tag "$$d"; done
|
|
|
|
clean:
|