From 4fa8bcb29516a73f1cecb1e5f6a687da831d5d1f Mon Sep 17 00:00:00 2001 From: Fredrik Roubert Date: Fri, 1 Mar 2019 17:27:11 +0100 Subject: [PATCH] Update Makefile to use git instead of svn. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2042856..cd8ecf5 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ BINPATH=/src/bin/ DISTROS=$(shell cd dockerfiles;ls) DISTROS_SMALL=ubuntu fedora SRC=src/icu -REV:=$(shell svnversion $(SRC) | tr -d ' ') +REV:=$(shell (cd $(SRC) && (git describe --tags --exact-match 2>/dev/null || git rev-parse --short HEAD)) || echo 'unknown') all: dirs src/icu #src/icu: src