mirror of
https://github.com/containers/skopeo.git
synced 2026-05-18 05:00:15 +00:00
Catch up import paths and docs to build correctly now that we're in projectatomic. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
22 lines
595 B
Makefile
22 lines
595 B
Makefile
AUTOTAGS := $(shell ./btrfs_tag.sh) $(shell ./libdm_tag.sh)
|
|
|
|
all: buildah
|
|
|
|
buildah: *.go cmd/buildah/*.go
|
|
go build -o buildah -tags "$(AUTOTAGS) $(TAGS)" ./cmd/buildah
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
$(RM) buildah
|
|
|
|
# For vendoring to work right, the checkout directory must be such that out top
|
|
# level is at $GOPATH/src/github.com/projectatomic/buildah.
|
|
.PHONY: gopath
|
|
gopath:
|
|
test $(shell pwd) = $(shell cd ../../../../src/github.com/projectatomic/buildah ; pwd)
|
|
|
|
# We use https://github.com/lk4d4/vndr to manage dependencies.
|
|
.PHONY: deps
|
|
deps: gopath
|
|
env GOPATH=$(shell cd ../../../.. ; pwd) vndr
|