osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/gapk/+/37790?usp=email )
Change subject: Use release helper from libosmocore ......................................................................
Use release helper from libosmocore
Related: OS#1861 Change-Id: I055fa322b70d58323810e084afca733256afac42 --- M Makefile.am M configure.ac 2 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/gapk refs/changes/90/37790/1
diff --git a/Makefile.am b/Makefile.am index f2a2c31..fe79f2d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,6 +20,8 @@ .version \ $(NULL)
+@RELMAKE@ + # versioning magic $(top_srcdir)/.version: echo $(VERSION) > $@-t && mv $@-t $@ diff --git a/configure.ac b/configure.ac index 904b371..6e1533d 100644 --- a/configure.ac +++ b/configure.ac @@ -11,6 +11,10 @@ # 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]) + AC_CONFIG_SRCDIR([src/app_osmo_gapk.c]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4])