summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2005-06-02 12:58:17 +0200
committerNiko Tyni <ntyni@iki.fi>2005-06-02 12:58:17 +0200
commit395461bfc00f6b3c98540c870fd24959d2c1466f (patch)
tree3546c2a47df1616df9a4bf39a21383ba6284d52d /Makefile
parent54b0cfd69a5ea9dd38b27bb1b6880b97bf9bc27d (diff)
downloadsmokeping-395461bfc00f6b3c98540c870fd24959d2c1466f.tar.gz
smokeping-395461bfc00f6b3c98540c870fd24959d2c1466f.tar.xz
* 2.0/Makefile:
+ new target 'increment-CHANGES-version intended for automatically updating CHANGES when releasing a new version.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 02c1dd4..ae2eb17 100644
--- a/Makefile
+++ b/Makefile
@@ -148,3 +148,7 @@ dist: tar
tag: dist
svn commit -m "prepare for the release of smokeping-$(VERSION)"
svn copy -m "tagging version $(VERSION)" svn://svn.ee.ethz.ch/smokeping/branches/2.0 svn://svn.ee.ethz.ch/smokeping/tags/$(VERSION)
+
+increment-CHANGES-version:
+ perl -i~ -p -e 'do { my @d = localtime; my $$d = (1900+$$d[5])."/".(1+$$d[4])."/".$$d[3]; print "$$d -- released version $(VERSION)\n\n" } unless $$done++ ' CHANGES
+