about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2021-12-13 10:30:06 +0100
committerRobin Jarry <robin@jarry.cc>2021-12-13 14:56:22 +0100
commitbc087d9b3099ec8215bfb111c9abeb1571407a28 (patch)
treec36588701cb08462da83ab286d9e2a003ff60dbe
parentb331371a6585b6a0cba678b2deba332e470a478b (diff)
downloadaerc-bc087d9b3099ec8215bfb111c9abeb1571407a28.tar.gz
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
-rw-r--r--Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d352fbe..5438190 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,6 @@
 .SUFFIXES:
 .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/-/./')
 ifeq ($(strip $(_git_version)),)
 VERSION=0.6.0