aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac4
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 479fe8e..75b642e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,6 +10,8 @@ SUBDIRS = tests
$(top_srcdir)/.version:
echo $(VERSION) > $@-t && mv $@-t $@
+@RELMAKE@
+
dist-hook:
echo $(VERSION) > $(distdir)/.tarball-version
diff --git a/configure.ac b/configure.ac
index d2858e4..9858af6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,6 +8,10 @@ AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE([foreign dist-bzip2 1.6 subdir-objects])
+dnl include release helper
+RELMAKE='-include osmo-release.mk'
+AC_SUBST([RELMAKE])
+
dnl checks for programs
AC_PROG_INSTALL
LT_INIT