diff Makefile @ 299:eba6872a5309 release-3.4

Release version 3.4
author Steve Kemp <steve@steve.org.uk>
date Wed, 10 Dec 2008 20:35:30 +0000
parents 65ba5f7aaa50
children
line wrap: on
line diff
--- a/Makefile	Tue Dec 09 19:00:44 2008 +0000
+++ b/Makefile	Wed Dec 10 20:35:30 2008 +0000
@@ -13,7 +13,7 @@
 #  Only used to build distribution tarballs.
 #
 DIST_PREFIX = ${TMP}
-VERSION     = 3.3
+VERSION     = 3.4
 BASE        = chronicle
 
 
@@ -44,6 +44,7 @@
 	@find . -name '*.1' -exec rm \{\} \;
 	@find . -name '*.bak' -exec rm \{\} \;
 	@find . -name '*.tmp' -exec rm \{\} \;
+	@if [ -e .version ]; then rm -f .version; fi
 	@if [ -d comments ]; then rm -rf comments; fi
 	@if [ -d output   ]; then rm -rf output; fi
 	@if [ -e build-stamp ]; then rm -f build-stamp; fi
@@ -94,6 +95,8 @@
 	mv $(DIST_PREFIX)/$(BASE)-$(VERSION).tar.gz .
 	rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION)
 	gpg --armour --detach-sign $(BASE)-$(VERSION).tar.gz
+	echo $(VERSION) > .version
+
 
 
 #