From 768ad801aaac4012b94131f00040e3b9dc629773 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Tue, 23 Jul 2019 13:12:49 +0200 Subject: Add the git hash in the version when possible --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 89cbf0c..bf27740 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ TRANS = fr.mo CC = cc CFLAGS = -g -Wall -Wextra -Wconversion -Wsign-conversion -CDEPS = `pkg-config --cflags $(DEPS)` -DDATADIR=\"$(DATADIR)\" -DPACKAGE=\"$(PACKAGE)\" -D_DEFAULT_SOURCE +CDEPS = `pkg-config --cflags $(DEPS)` -DDATADIR=\"$(DATADIR)\" -DPACKAGE=\"$(PACKAGE)\" -D_DEFAULT_SOURCE -DVERSION="$(shell ./version.sh)" LIBS = `pkg-config --libs $(DEPS)` all: $(EXE) $(TRANS) -- cgit v1.3.1-26-gb76a