X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=Makefile;h=2035b0d252cfc99b2757f026d361d9ee5caf9033;hb=b0af4e4c8543d8cdfd8bc7cd68b760d9d66e927c;hp=440328a60ec11b6b840e014dd21b1743080ffbbc;hpb=712c5b0f0b64b62b7c0395acd6b295361f741735;p=i3%2Fi3status diff --git a/Makefile b/Makefile index 440328a..2035b0d 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ LIBS+=-lpthread ifeq ($(wildcard .git),) # not in git repository VERSION := $(shell [ -f $(TOPDIR)/I3STATUS_VERSION ] && cat $(TOPDIR)/I3STATUS_VERSION | cut -d '-' -f 1) - I3STATUS_VERSION := $(shell [ -f $(TOPDIR)/I3STATUS_VERSION ] && cat $(TOPDIR)/I3STATUS_VERSION) + I3STATUS_VERSION := '$(shell [ -f $(TOPDIR)/I3STATUS_VERSION ] && cat $(TOPDIR)/I3STATUS_VERSION)' else VERSION:=$(shell git describe --tags --abbrev=0) I3STATUS_VERSION:="$(shell git describe --tags --always) ($(shell git log --pretty=format:%cd --date=short -n1))"