4 INTLTOOL_MERGE = /usr/bin/intltool-merge
5 spec_in_files = time-slider.spec.in
6 spec_DATA = $(spec_in_files:.spec.in=.spec)
8 ifeq ($(wildcard $(top_srcdir)/.git),)
9 include $(top_srcdir)/VERSION
11 VERSION=$(shell git describe)
13 MAINVER=$(shell echo $(VERSION) | cut -f1 -d'-')
14 RELEASE=$(shell echo $(VERSION) | cut -f2- -d'-' | sed -e 's/-/./g')
19 $(SED) -e 's,\@VERSION\@,$(MAINVER),g' \
20 -e 's,\@RELEASE\@,$(RELEASE),g' \
21 -e 's,\@GITVER\@,$(VERSION),g' \