summaryrefslogtreecommitdiffstats
path: root/contrib/Makefile.am
diff options
context:
space:
mode:
authorPhilip Whineray <phil@firehol.org>2016-05-07 08:58:33 +0100
committerPhilip Whineray <phil@firehol.org>2016-05-07 09:01:09 +0100
commit077af5590f07163881f8c7c8c598e12067b8553c (patch)
treecfb3157e4776b1e73ad6a83204a021db30a10788 /contrib/Makefile.am
parent0874a9852ef3e75a441e1f922111f972ebe743b6 (diff)
Replace fixed debian changelog with generated one
Eliminates manual processing and possibility of divergence. Prevents a repeat of #373. Replaces the _master from pre-releases with ~master which should mean that an official release will upgrade over builds from an earlier git tree.
Diffstat (limited to 'contrib/Makefile.am')
-rw-r--r--contrib/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index 5eef884709..19e5df77fb 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -21,3 +21,9 @@ dist_noinst_DATA = \
dist_noinst_SCRIPTS = \
debian/netdata.init \
$(NULL)
+
+debian/changelog:
+ echo "netdata ($(PACKAGE_VERSION)) UNRELEASED; urgency=medium" | \
+ tr '_' '~' > $@
+ echo " * Latest release" >> $@
+ echo " -- Netdata Team <> `date -R`" >> $@