Use release helper from libosmocore

Change-Id: I06b9ceff1e1ecfccc1b1a52ffe6b9d3f6dcaa34d
Related: OS#1861
This commit is contained in:
Max 2017-08-25 18:27:28 +02:00
parent 0b1b6b1f1e
commit 43bf7bc5c5
2 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,8 @@ EXTRA_DIST = \
.version \
$(NULL)
@RELMAKE@
BUILT_SOURCES = $(top_srcdir)/.version
$(top_srcdir)/.version:
echo $(VERSION) > $@-t && mv $@-t $@

View File

@ -15,6 +15,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_MKDIR_P