From e42d069327372c19381367998f28765b5e49d8b8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 6 Oct 2015 08:09:04 +0200 Subject: add a new Makefile target 'release' to build release tarball --- config.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config.mk') diff --git a/config.mk b/config.mk index c0919e9..7c9b03d 100644 --- a/config.mk +++ b/config.mk @@ -3,6 +3,7 @@ HAVE_ACL=0 HAVE_SELINUX=0 # vis version +RELEASE = 0.0.0 # try to get a tag and hash first GITHASH = $(shell git log -1 --format='%h' 2>/dev/null) GITTAG = $(shell git describe --abbrev=0 --tags 2>/dev/null) @@ -16,7 +17,7 @@ else ifneq ($(GITHASH),) VERSION = 0.r${GITREVCOUNT}.g${GITHASH} else # this is used when no git is available, e.g. for release tarball - VERSION = 0.0.0 + VERSION = ${RELEASE} endif # Customize below to fit your system -- cgit v1.2.3