From bdc504e29c267af29c10a04aa8afcdfbd6daea22 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 28 Aug 2017 12:15:03 +0200 Subject: [PATCH] Use release helper from libosmocore See https://osmocom.org/projects/cellular-infrastructure/wiki/Make_a_new_release for details. Change-Id: Icdcb388ad22b0c009dac7968408d1e2504c838c1 Related: OS#1861 --- Makefile.am | 2 ++ TODO-RELEASE | 9 +++++++++ configure.ac | 4 ++++ debian/changelog | 2 +- 4 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 TODO-RELEASE diff --git a/Makefile.am b/Makefile.am index 970fbf7..1d7eaba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,3 +11,5 @@ dist-hook: echo $(VERSION) > $(distdir)/.tarball-version EXTRA_DIST = git-version-gen .version README.md README.FreeBSD README.MacOSX README.Solaris + +@RELMAKE@ diff --git a/TODO-RELEASE b/TODO-RELEASE new file mode 100644 index 0000000..d0852fc --- /dev/null +++ b/TODO-RELEASE @@ -0,0 +1,9 @@ +# When cleaning up this file: bump API version in corresponding Makefile.am and rename corresponding debian/lib*.install +# according to https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info +# In short: +# LIBVERSION=c:r:a +# If the library source code has changed at all since the last update, then increment revision: c:r + 1:a. +# If any interfaces have been added, removed, or changed since the last update: c + 1:0:0. +# If any interfaces have been added since the last public release: c:r:a + 1. +# If any interfaces have been removed or changed since the last public release: c:r:0. +#library what description / commit summary line diff --git a/configure.ac b/configure.ac index 63d3117..9d3a8e4 100644 --- a/configure.ac +++ b/configure.ac @@ -55,6 +55,10 @@ AC_SUBST(EXEC_LDADD) # FIXME: Replace `main' with a function in `-links': #AC_CHECK_LIB([inks], [main]) +dnl include release helper +RELMAKE='-include osmo-release.mk' +AC_SUBST([RELMAKE]) + dnl GTP Linux kernel dependencies AC_ARG_ENABLE([gtp-linux], AS_HELP_STRING([--enable-gtp-linux], [Build GTP tunneling Linux kernel]), diff --git a/debian/changelog b/debian/changelog index 17a0a36..357cc01 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -openggsn (0.94) UNRELEASED; urgency=medium +openggsn (0.94.0) UNRELEASED; urgency=medium [ Holger Hans Peter Freyther ] * Bump version to ease upgrading from Debian SID.