summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-08-25 18:27:28 +0200
committerMax <msuraev@sysmocom.de>2017-08-25 18:27:28 +0200
commit43bf7bc5c5f36886f6e02a51c7f7daa4303244fa (patch)
tree210a01cb7aa4c6ddca8239fab4d39e4d01ad7977
parent0b1b6b1f1ed14269c678970794decda4975eae40 (diff)
Use release helper from libosmocore
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac4
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 0d60cee..392d80d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,6 +10,8 @@ EXTRA_DIST = \
.version \
$(NULL)
+@RELMAKE@
+
BUILT_SOURCES = $(top_srcdir)/.version
$(top_srcdir)/.version:
echo $(VERSION) > $@-t && mv $@-t $@
diff --git a/configure.ac b/configure.ac
index 958b48b..6532940 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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