From c61a63a46dcfebcad561682db2b15857ad304c1f Mon Sep 17 00:00:00 2001
From: Lukas Fleischer <calcurse@cryptocrack.de>
Date: Tue, 24 May 2011 10:57:49 +0200
Subject: Add version information to distribution tarball.

We somehow forgot this when adding Git version string support in commit
c5e4187590f37e9524a8e3fcb2bccb20f2e8b4eb.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
---
 Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 3052b72..9e17d2f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,3 +11,6 @@ EXTRA_DIST = \
 BUILT_SOURCES = $(top_srcdir)/.version
 $(top_srcdir)/.version:
 	echo $(VERSION) > $@-t && mv $@-t $@
+
+dist-hook:
+	echo $(VERSION) > $(distdir)/.version
-- 
cgit v1.2.3-70-g09d2