From f4ba9ecd36a1f19d8a9997cc84bb6ef579b65e04 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Wed, 29 May 2019 10:00:43 +0200 Subject: 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 --- Makefile.am | 2 ++ configure.ac | 4 ++++ 2 files changed, 6 insertions(+) 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 -- cgit v1.2.3