comparison 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
comparison
equal deleted inserted replaced
298:3a61d24cdfcb 299:eba6872a5309
11 11
12 # 12 #
13 # Only used to build distribution tarballs. 13 # Only used to build distribution tarballs.
14 # 14 #
15 DIST_PREFIX = ${TMP} 15 DIST_PREFIX = ${TMP}
16 VERSION = 3.3 16 VERSION = 3.4
17 BASE = chronicle 17 BASE = chronicle
18 18
19 19
20 # 20 #
21 # Installation prefix, useful for the Debian package. 21 # Installation prefix, useful for the Debian package.
42 @find . -name '.#*' -exec rm \{\} \; 42 @find . -name '.#*' -exec rm \{\} \;
43 @find . -name '*~' -exec rm \{\} \; 43 @find . -name '*~' -exec rm \{\} \;
44 @find . -name '*.1' -exec rm \{\} \; 44 @find . -name '*.1' -exec rm \{\} \;
45 @find . -name '*.bak' -exec rm \{\} \; 45 @find . -name '*.bak' -exec rm \{\} \;
46 @find . -name '*.tmp' -exec rm \{\} \; 46 @find . -name '*.tmp' -exec rm \{\} \;
47 @if [ -e .version ]; then rm -f .version; fi
47 @if [ -d comments ]; then rm -rf comments; fi 48 @if [ -d comments ]; then rm -rf comments; fi
48 @if [ -d output ]; then rm -rf output; fi 49 @if [ -d output ]; then rm -rf output; fi
49 @if [ -e build-stamp ]; then rm -f build-stamp; fi 50 @if [ -e build-stamp ]; then rm -f build-stamp; fi
50 @if [ -e debian/chronicle.debhelper.log ]; then rm debian/chronicle.debhelper.log; fi 51 @if [ -e debian/chronicle.debhelper.log ]; then rm debian/chronicle.debhelper.log; fi
51 52
92 cd $(DIST_PREFIX) && tar -cvf $(DIST_PREFIX)/$(BASE)-$(VERSION).tar $(BASE)-$(VERSION)/ 93 cd $(DIST_PREFIX) && tar -cvf $(DIST_PREFIX)/$(BASE)-$(VERSION).tar $(BASE)-$(VERSION)/
93 gzip $(DIST_PREFIX)/$(BASE)-$(VERSION).tar 94 gzip $(DIST_PREFIX)/$(BASE)-$(VERSION).tar
94 mv $(DIST_PREFIX)/$(BASE)-$(VERSION).tar.gz . 95 mv $(DIST_PREFIX)/$(BASE)-$(VERSION).tar.gz .
95 rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION) 96 rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION)
96 gpg --armour --detach-sign $(BASE)-$(VERSION).tar.gz 97 gpg --armour --detach-sign $(BASE)-$(VERSION).tar.gz
98 echo $(VERSION) > .version
99
97 100
98 101
99 # 102 #
100 # Tidy the code 103 # Tidy the code
101 # 104 #