diff options
author | mathieui <mathieui@mathieui.net> | 2014-03-21 00:50:07 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-03-21 00:51:12 +0100 |
commit | a9354a9052cc1394ce60b4449a0d19c4ca845eb4 (patch) | |
tree | 3dbaa53e5d3cfb3c0eddf55f5c6b8bd7255a0389 /Makefile | |
parent | a3050bad8a8d77e541925c2a75b4d87ba6e05450 (diff) | |
download | poezio-a9354a9052cc1394ce60b4449a0d19c4ca845eb4.tar.gz poezio-a9354a9052cc1394ce60b4449a0d19c4ca845eb4.tar.bz2 poezio-a9354a9052cc1394ce60b4449a0d19c4ca845eb4.tar.xz poezio-a9354a9052cc1394ce60b4449a0d19c4ca845eb4.zip |
Add a "release" target to the makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -5,6 +5,7 @@ DATADIR=$(prefix)/share DOCDIR=$(DATADIR)/doc LOCALEDIR=$(DATADIR)/locale MANDIR=$(DATADIR)/man +TMPDIR=/tmp/ all: Makefile python3 setup.py build_ext --inplace @@ -32,4 +33,14 @@ doc: pot: xgettext src/*.py --from-code=utf-8 --keyword=_ -o locale/poezio.pot +release: + rm -fr $(TMPDIR)/poezio-$(version) + git clone $(PWD) $(TMPDIR)/poezio-$(version) + cd $(TMPDIR)/poezio-$(version) && \ + git checkout v$(version) && \ + make doc && \ + cd .. && \ + tar cJf poezio-$(version).tar.xz poezio-$(version) && \ + tar czf poezio-$(version).tar.gz poezio-$(version) + .PHONY : doc |