aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-05-29 10:00:43 +0200
committerOliver Smith <osmith@sysmocom.de>2019-05-29 10:07:08 +0200
commitf4ba9ecd36a1f19d8a9997cc84bb6ef579b65e04 (patch)
tree5fc0d38f58714bd0a9101f423ad4d9d9bf59fac2
parentf1d55d95743b4ed20ae581cbcfd476081f1931ce (diff)
Makefile.am: include osmo-release.mk
Allow using the same release process, as with other Osmocom components: https://osmocom.org/projects/cellular-infrastructure/wiki/Make_a_new_release Related: OS#3899 Change-Id: Id31b8aa3f8c46509774c44ee027ab89862249766
-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