mirror of
https://github.com/projectatomic/atomic.git
synced 2026-02-05 09:44:59 +01:00
remove gomtree binary blob
Add Makefile rules to build it from the code repository Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #536 Approved by: cgwalters
This commit is contained in:
committed by
Atomic Bot
parent
d75bed72d8
commit
18be700fc5
12
Makefile
12
Makefile
@@ -10,9 +10,10 @@ GO_MD2MAN ?= /usr/bin/go-md2man
|
||||
GO ?= /usr/bin/go
|
||||
PYTHONSITELIB=$(shell $(PYTHON) -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(0))")
|
||||
VERSION=$(shell $(PYTHON) setup.py --version)
|
||||
export GOPATH = $(shell pwd)/godeps
|
||||
|
||||
.PHONY: all
|
||||
all: python-build docs pylint-check dockertar-sha256-helper gotar
|
||||
all: python-build docs pylint-check dockertar-sha256-helper gotar gomtree
|
||||
|
||||
.PHONY: test-python3-pylint
|
||||
test-python3-pylint:
|
||||
@@ -55,6 +56,15 @@ clean:
|
||||
$(PYTHON) setup.py clean
|
||||
-rm -rf dist build *~ \#* *pyc .#* docs/*.1
|
||||
|
||||
get-go-dependencies:
|
||||
$(GO) get -u -d github.com/vbatts/go-mtree/cmd/gomtree
|
||||
|
||||
godeps/src/github.com/vbatts/go-mtree/cmd/gomtree/main.go:
|
||||
$(MAKE) get-go-dependencies
|
||||
|
||||
gomtree: godeps/src/github.com/vbatts/go-mtree/cmd/gomtree/main.go
|
||||
$(GO) build -o $@ $<
|
||||
|
||||
.PHONY: install-only
|
||||
install-only:
|
||||
$(PYTHON) setup.py install --install-scripts /usr/share/atomic `test -n "$(DESTDIR)" && echo --root $(DESTDIR)`
|
||||
|
||||
Reference in New Issue
Block a user