summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-05-03 17:15:26 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-05-03 17:15:26 +0200
commit96ef99e700e8a055b4c98275855c785b65051d4d (patch)
tree4e08db4392c10865307cd3f477f80dedefe4ef79
parent2745372f00222848aee3e8d4643fc69168ce7e85 (diff)
build: Support make release target
-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 534c86e..5cffc1d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,5 @@
+@RELMAKE@
+
AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
ACLOCAL_AMFLAGS = -I m4
diff --git a/configure.ac b/configure.ac
index 1610973..ab63045 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,6 +6,10 @@ AM_INIT_AUTOMAKE([dist-bzip2])
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