Fixed the name of the 27_1draw game.
[fpdb-dooglus.git] / Makefile
blob272374557b365a546eaace9237652a1940c6177b
1 #Copyright 2009-2011 Carl Gherardi
2 #This program is free software: you can redistribute it and/or modify
3 #it under the terms of the GNU Affero General Public License as published by
4 #the Free Software Foundation, version 3 of the License.
6 #This program is distributed in the hope that it will be useful,
7 #but WITHOUT ANY WARRANTY; without even the implied warranty of
8 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 #GNU General Public License for more details.
11 #You should have received a copy of the GNU Affero General Public License
12 #along with this program. If not, see <http://www.gnu.org/licenses/>.
13 #In the "official" distribution you can find the license in agpl-3.0.txt.
15 # Variable definitions
16 VERSION = 0.20
17 DATE = $(shell date +%Y%m%d)
19 all:
20 @echo "Usage:"
21 @echo " make snapshot - Tags the repository with $(VERSION)-$(DATE) and creates a tarball from that"
23 snapshot:
24 git tag $(VERSION)-$(DATE)
25 git archive --prefix=fpdb-$(VERSION)-$(DATE)/ $(VERSION)-$(DATE) | gzip -9 > ../fpdb-$(VERSION)-$(DATE).tar.gz
27 release:
28 git tag $(VERSION)
29 git archive --prefix=fpdb-$(VERSION)/ $(VERSION) | gzip -9 > ../fpdb-$(VERSION).tar.gz