summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index b37844b..3052b72 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,3 +7,7 @@ SUBDIRS = doc po src
EXTRA_DIST = \
INSTALL \
ABOUT-NLS
+
+BUILT_SOURCES = $(top_srcdir)/.version
+$(top_srcdir)/.version:
+ echo $(VERSION) > $@-t && mv $@-t $@