diff options
author | Niko Tyni <ntyni@iki.fi> | 2005-06-02 12:58:17 +0200 |
---|---|---|
committer | Niko Tyni <ntyni@iki.fi> | 2005-06-02 12:58:17 +0200 |
commit | 395461bfc00f6b3c98540c870fd24959d2c1466f (patch) | |
tree | 3546c2a47df1616df9a4bf39a21383ba6284d52d /Makefile | |
parent | 54b0cfd69a5ea9dd38b27bb1b6880b97bf9bc27d (diff) | |
download | smokeping-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-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 + |