mirror of
https://github.com/containers/podman.git
synced 2025-06-20 00:51:16 +08:00
Remove last traces of old version scheme
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #345 Approved by: rhatdan
This commit is contained in:
5
Makefile
5
Makefile
@ -24,8 +24,6 @@ COMMIT_NO := $(shell git rev-parse HEAD 2> /dev/null || true)
|
||||
GIT_COMMIT := $(if $(shell git status --porcelain --untracked-files=no),"${COMMIT_NO}-dirty","${COMMIT_NO}")
|
||||
BUILD_INFO := $(shell date +%s)
|
||||
|
||||
PODMAN_VERSION := ${shell cat ./PODMAN_VERSION}
|
||||
|
||||
# If GOPATH not specified, use one in the local directory
|
||||
ifeq ($(GOPATH),)
|
||||
export GOPATH := $(CURDIR)/_output
|
||||
@ -38,9 +36,8 @@ GOPKGBASEDIR := $(shell dirname "$(GOPKGDIR)")
|
||||
VPATH := $(VPATH):$(GOPATH)
|
||||
SHRINKFLAGS := -s -w
|
||||
BASE_LDFLAGS := ${SHRINKFLAGS} -X main.gitCommit=${GIT_COMMIT} -X main.buildInfo=${BUILD_INFO}
|
||||
PODMAN_LDFLAGS := -X main.podmanVersion=${PODMAN_VERSION}
|
||||
LDFLAGS := -ldflags '${BASE_LDFLAGS}'
|
||||
LDFLAGS_PODMAN := -ldflags '${BASE_LDFLAGS} ${PODMAN_LDFLAGS}'
|
||||
LDFLAGS_PODMAN := -ldflags '${BASE_LDFLAGS}'
|
||||
|
||||
BOX="fedora_atomic"
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
0.2
|
Reference in New Issue
Block a user