X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=time-slider.git;a=blobdiff_plain;f=Makefile;h=ef0c9aa54a9346f1f8c3866bc875e5bf9fd7775a;hp=6ab8deaf4d3427adc1b8c10d2809008dc0c106c0;hb=d7105eb523aded4cd88f1f69acedb5e05b458158;hpb=8f1f6d0b5e917f706344d02726dcc6c6e2905ffe diff --git a/Makefile b/Makefile index 6ab8dea..ef0c9aa 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,8 @@ -include VERSION +ifeq ($(wildcard .git),) + include VERSION +else + VERSION=$(shell git describe) +endif mkinstalldirs = /usr/bin/mkdir -p INSTALL = /usr/bin/install