aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 752e34e..b274f45 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,6 +4,12 @@ if HAVE_LIBXML2
SUBDIRS += test_apps
endif
+BUILT_SOURCES = $(top_srcdir)/.version
+$(top_srcdir)/.version:
+ echo $(VERSION) > $@-t && mv $@-t $@
+dist-hook:
+ echo $(VERSION) > $(distdir)/.tarball-version
+
EXTRA_DIST = src/Makefile.am\
test_pdu/Makefile.am\
test_apps/Makefile.am \