Commit 6921dd26 authored by Yuya Nishihara's avatar Yuya Nishihara

make: add rule to build source tarball

I'm pretty sure next time I wouldn't remember how to build the tarball.

--HG--
branch : stable
parent 87084d5b0997
FAKEROOT = fakeroot
PYTHON = python
PYTYPE = pytype
......@@ -12,6 +13,7 @@ help:
@echo ' local - build for inplace usage'
@echo ' tests - run all tests in the automatic test suite'
@echo ' app - create a py2app bundle on Mac OS X'
@echo ' tarball - create release tarball'
@echo ' clean - remove files created by other targets'
@echo ' (except installed files or dist source tarball)'
@echo ' distclean - remove all files created by other targets'
......@@ -53,6 +55,13 @@ app:
$(MAKE) -C "$(HGPATH)" local
FORCE_SETUPTOOLS= $(PYTHON) setup.py py2app -d "$(DISTDIR)"
.PHONY: tarball
tarball:
$(FAKEROOT) $(PYTHON) setup.py sdist
@echo
@echo '** You need to upload the tarball to '
@echo '** https://bitbucket.org/tortoisehg/targz/downloads/'
.PHONY: clean
clean:
$(PYTHON) setup.py clean
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment