2020-11-12 20:05:17 +00:00
|
|
|
prefix=/usr/local
|
|
|
|
bindir=$(prefix)/bin
|
2017-06-19 23:10:09 +00:00
|
|
|
|
2018-10-02 17:03:32 +00:00
|
|
|
binaries: FORCE
|
|
|
|
hack/binaries
|
2017-06-19 23:10:09 +00:00
|
|
|
|
2019-03-01 08:04:59 +00:00
|
|
|
images: FORCE
|
|
|
|
# moby/buildkit:local and moby/buildkit:local-rootless are created on Docker
|
|
|
|
hack/images local moby/buildkit
|
2020-11-26 04:51:51 +00:00
|
|
|
TARGET=rootless hack/images local moby/buildkit
|
2019-03-01 08:04:59 +00:00
|
|
|
|
2017-12-13 04:34:55 +00:00
|
|
|
install: FORCE
|
2020-11-12 20:05:17 +00:00
|
|
|
mkdir -p $(DESTDIR)$(bindir)
|
|
|
|
install bin/* $(DESTDIR)$(bindir)
|
2017-12-13 04:34:55 +00:00
|
|
|
|
|
|
|
clean: FORCE
|
|
|
|
rm -rf ./bin
|
|
|
|
|
2017-05-26 00:16:32 +00:00
|
|
|
test:
|
2018-10-02 17:03:32 +00:00
|
|
|
./hack/test integration gateway dockerfile
|
2017-05-26 00:16:32 +00:00
|
|
|
|
2017-06-19 23:10:09 +00:00
|
|
|
lint:
|
|
|
|
./hack/lint
|
2017-07-12 05:08:53 +00:00
|
|
|
|
2017-06-19 23:10:09 +00:00
|
|
|
validate-vendor:
|
|
|
|
./hack/validate-vendor
|
|
|
|
|
2020-07-25 03:36:55 +00:00
|
|
|
validate-shfmt:
|
|
|
|
./hack/validate-shfmt
|
|
|
|
|
|
|
|
shfmt:
|
|
|
|
./hack/shfmt
|
|
|
|
|
2018-03-26 10:52:36 +00:00
|
|
|
validate-generated-files:
|
|
|
|
./hack/validate-generated-files
|
|
|
|
|
|
|
|
validate-all: test lint validate-vendor validate-generated-files
|
2017-06-19 23:10:09 +00:00
|
|
|
|
2017-05-25 23:26:11 +00:00
|
|
|
vendor:
|
|
|
|
./hack/update-vendor
|
2017-07-12 05:08:53 +00:00
|
|
|
|
2018-03-26 10:52:36 +00:00
|
|
|
generated-files:
|
|
|
|
./hack/update-generated-files
|
|
|
|
|
2019-03-01 08:04:59 +00:00
|
|
|
.PHONY: vendor generated-files test binaries images install clean lint validate-all validate-vendor validate-generated-files
|
2017-07-12 05:08:53 +00:00
|
|
|
FORCE:
|