summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2016-05-18 10:41:27 (GMT)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2016-05-18 10:41:27 (GMT)
commitb1d1beca76aa512d7ea594ca74bc5bacf824db1f (patch)
tree5345a710d4aebfc4bbeafd8ac7f1af0b8716ab9b
parent96bdb5419911ab19fcb81e80a61190667974819c (diff)
downloaduser-session-launcher-b1d1beca76aa512d7ea594ca74bc5bacf824db1f.tar.gz
user-session-launcher-b1d1beca76aa512d7ea594ca74bc5bacf824db1f.tar.xz
properly setup git-version-gen
-rw-r--r--Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index d1aec83..fba484c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -57,4 +57,12 @@ MAINTAINERCLEANFILES = \
m4/* \
$(NULL)
+EXTRA_DIST = $(top_srcdir)/.version
+BUILT_SOURCES = $(top_srcdir)/.version
+$(top_srcdir)/.version:
+ echo $(VERSION) > $@-t && mv $@-t $@
+dist-hook:
+ echo $(VERSION) > $(distdir)/.tarball-version
+
+
-include $(top_srcdir)/git.mk