Improved version setting for makefile

This commit is contained in:
Matthias Fulz 2021-07-01 12:32:51 +02:00
parent ab491739ba
commit 29f32e4a3a
1 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,10 @@ LIBDIR ?= $(PREFIX)/lib
CNFDIR ?= /etc
ARCHBUILDER_LIB_DIR ?= $(LIBDIR)/$(PROGNM)
ARCHBUILDER_CONF_DIR ?= $(CNFDIR)/$(PROGNM)
ARCHBUILDER_VERSION ?= 0.9.3
ARCHBUILDER_VERSION ?= $(shell git describe --tags || true)
ifeq ($(ARCHBUILDER_VERSION),)
ARCHBUILDER_VERSION := 0.9.4
endif
.PHONY: install build archbuilder