diff options
author | Max <msuraev@sysmocom.de> | 2017-08-28 11:45:37 +0200 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-08-28 10:53:35 +0000 |
commit | 03b84ec99ba591950b6598c682f6f7083c8cc2f5 (patch) | |
tree | 597e0bb08cd5221a6ab336a1b8fa5472ced3d8ad | |
parent | e3189dc8c2161cafd465a59077a5fc2e0cf4ac4f (diff) |
Use release helper from libosmocore
See
https://osmocom.org/projects/cellular-infrastructure/wiki/Make_a_new_release
for details.
Change-Id: I01b0aae741b83a3f17f1caf2b6837cf365a1709b
Related: OS#1861
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | TODO-RELEASE | 9 | ||||
-rw-r--r-- | configure.ac | 4 |
3 files changed, 15 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 9b1c0f1..5dd843b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,6 +8,8 @@ pkgconfig_DATA = libosmo-netif.pc EXTRA_DIST = .version README.md +@RELMAKE@ + BUILT_SOURCES = $(top_srcdir)/.version $(top_srcdir)/.version: echo $(VERSION) > $@-t && mv $@-t $@ 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 175ab63..6c9ba77 100644 --- a/configure.ac +++ b/configure.ac @@ -11,6 +11,10 @@ AC_CONFIG_TESTDIR(tests) dnl kernel style compile messages m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) +dnl include release helper +RELMAKE='-include osmo-release.mk' +AC_SUBST([RELMAKE]) + dnl checks for programs AC_PROG_MAKE_SET AC_PROG_CC |