Makefile,install.md: rm gopath stuff
For quite some time (Go 1.16? To be honest, I don't remember) placing sources in a specific directory under $GOPATH is no longer required. [NO NEW TESTS NEEDED] Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
parent
c07a5eb567
commit
f0361414de
6
Makefile
6
Makefile
|
@ -119,12 +119,6 @@ clean:
|
||||||
docs: install.tools ## build the docs on the host
|
docs: install.tools ## build the docs on the host
|
||||||
$(MAKE) -C docs
|
$(MAKE) -C docs
|
||||||
|
|
||||||
# For vendoring to work right, the checkout directory must be such that our top
|
|
||||||
# level is at $GOPATH/src/github.com/containers/buildah.
|
|
||||||
.PHONY: gopath
|
|
||||||
gopath:
|
|
||||||
test $(shell pwd) = $(shell cd ../../../../src/github.com/containers/buildah ; pwd)
|
|
||||||
|
|
||||||
codespell:
|
codespell:
|
||||||
codespell -S Makefile,buildah.spec.rpkg,AUTHORS,bin,vendor,.git,go.mod,go.sum,CHANGELOG.md,changelog.txt,seccomp.json,.cirrus.yml,"*.xz,*.gz,*.tar,*.tgz,*ico,*.png,*.1,*.5,*.orig,*.rej" -L secon,passt,bu,uint,iff,od,erro -w
|
codespell -S Makefile,buildah.spec.rpkg,AUTHORS,bin,vendor,.git,go.mod,go.sum,CHANGELOG.md,changelog.txt,seccomp.json,.cirrus.yml,"*.xz,*.gz,*.tar,*.tgz,*ico,*.png,*.1,*.5,*.orig,*.rej" -L secon,passt,bu,uint,iff,od,erro -w
|
||||||
|
|
||||||
|
|
|
@ -194,11 +194,8 @@ In Fedora, you can use this command:
|
||||||
Then to install Buildah on Fedora follow the steps in this example:
|
Then to install Buildah on Fedora follow the steps in this example:
|
||||||
|
|
||||||
```
|
```
|
||||||
mkdir ~/buildah
|
git clone https://github.com/containers/buildah
|
||||||
cd ~/buildah
|
cd buildah
|
||||||
export GOPATH=`pwd`
|
|
||||||
git clone https://github.com/containers/buildah ./src/github.com/containers/buildah
|
|
||||||
cd ./src/github.com/containers/buildah
|
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
buildah --help
|
buildah --help
|
||||||
|
|
Loading…
Reference in New Issue