From b7e3d4388ad92180c878fad11b103e8c81dd71d5 Mon Sep 17 00:00:00 2001 From: Mark Walker Date: Sat, 3 Oct 2015 13:08:47 -0700 Subject: [PATCH] Include the git tag version in the distributions --- src/defines/defines.mk | 3 ++- src/defines/rules.mk | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/defines/defines.mk b/src/defines/defines.mk index c1899b1..e2b153d 100644 --- a/src/defines/defines.mk +++ b/src/defines/defines.mk @@ -81,7 +81,8 @@ endif # Build directories -VERSION = 2.2.1 +GPX_VERSION = $(shell git describe --tags --dirty) +VERSION = $(GPX_VERSION) SHAREDIR = $(SRCDIR)/shared PLANNERDIR = $(SRCDIR)/planner UTILSDIR = $(SRCDIR)/utils diff --git a/src/defines/rules.mk b/src/defines/rules.mk index cde7e4a..a63c07e 100644 --- a/src/defines/rules.mk +++ b/src/defines/rules.mk @@ -4,8 +4,6 @@ EXE_TARGET_OBJS = $(foreach objs, \ LINK_TARGETS = $(addprefix $(OBJDIR)/, $(EXE_TARGETS)) -GPX_VERSION = $(shell git describe --tags --dirty) - all:: $(LINK_TARGETS) # Pull in auto-generated dependency information