Improved version setting for makefile
This commit is contained in:
parent
ab491739ba
commit
29f32e4a3a
5
Makefile
5
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue