mk: remove version override
some build systems build inside a git environment- most notably, alpine aports is built inside an aports tree. this override prevents a VERSION=$pkgver override from being passed at build time and makes aerc think its version is an alpine version from aports: < aerc -v aerc v3.15.0.r122.gb306bc1c4c
This commit is contained in:
parent
b331371a65
commit
bc087d9b30
1
Makefile
1
Makefile
|
@ -2,7 +2,6 @@
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .1 .5 .7 .1.scd .5.scd .7.scd
|
.SUFFIXES: .1 .5 .7 .1.scd .5.scd .7.scd
|
||||||
|
|
||||||
override undefine VERSION # don't allow local overrides, we want our version
|
|
||||||
_git_version=$(shell git describe --long --tags --dirty 2>/dev/null | sed 's/-/.r/;s/-/./')
|
_git_version=$(shell git describe --long --tags --dirty 2>/dev/null | sed 's/-/.r/;s/-/./')
|
||||||
ifeq ($(strip $(_git_version)),)
|
ifeq ($(strip $(_git_version)),)
|
||||||
VERSION=0.6.0
|
VERSION=0.6.0
|
||||||
|
|
Loading…
Reference in New Issue