Use release helper from libosmocore

Change-Id: I1a65695d6191aa7647b9872e58da4a00bbad59e2
Related: OS#1861
This commit is contained in:
Max 2017-08-25 18:38:54 +02:00 committed by Harald Welte
parent 6cb76c7ee5
commit 9d1ac29a48
3 changed files with 9 additions and 0 deletions

2
.gitignore vendored
View File

@ -20,3 +20,5 @@ missing
stamp-h1 stamp-h1
osmo-sip-connector osmo-sip-connector
.tarball-version
.version

View File

@ -4,6 +4,9 @@ SUBDIRS = src tests
BUILT_SOURCES = $(top_srcdir)/.version BUILT_SOURCES = $(top_srcdir)/.version
EXTRA_DIST = git-version-gen osmoappdesc.py .version EXTRA_DIST = git-version-gen osmoappdesc.py .version
@RELMAKE@
$(top_srcdir)/.version: $(top_srcdir)/.version:
echo $(VERSION) > $@-t && mv $@-t $@ echo $(VERSION) > $@-t && mv $@-t $@
dist-hook: dist-hook:

View File

@ -14,6 +14,10 @@ if test "x$PKG_CONFIG_INSTALLED" = "xno"; then
fi fi
PKG_PROG_PKG_CONFIG([0.20]) PKG_PROG_PKG_CONFIG([0.20])
dnl include release helper
RELMAKE='-include osmo-release.mk'
AC_SUBST([RELMAKE])
dnl kernel style compile messages dnl kernel style compile messages
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_PROG_CC AC_PROG_CC