File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,7 +50,8 @@ coverage_annotate:
5050
5151# Packaging
5252VERSION =$(shell grep __version__ $(PYDIR ) /phonenumbers/__init__.py | sed 's/__version__ = "\(.* \) "/\1/')
53- TARBALL =$(PYDIR ) /dist/$(PACKAGE ) -$(VERSION ) .tar.gz
53+ TARBALL_LOCAL =dist/$(PACKAGE ) -$(VERSION ) .tar.gz
54+ TARBALL =$(PYDIR ) /$(TARBALL_LOCAL )
5455# Build setuptools packaged tarball $(TARBALL)
5556sdist : alldata
5657 cd $(PYDIR ) && $(PYTHON ) setup.py sdist
@@ -82,8 +83,8 @@ DEB_PACKAGE=python-$(PACKAGE)
8283DEB_VERSION =$(VERSION ) -1_all
8384deb : $(PYDIR ) /deb_dist/$(DEB_PACKAGE ) _$(DEB_VERSION ) .deb
8485
85- deb_dist/$(DEB_PACKAGE ) _$(VERSION ) -1_all.deb : $(TARBALL )
86- py2dsc $(TARBALL )
86+ $( PYDIR ) / deb_dist/$(DEB_PACKAGE ) _$(VERSION ) -1_all.deb : $(TARBALL )
87+ cd $( PYDIR ) && py2dsc $(TARBALL_LOCAL )
8788 cd $(PYDIR ) /deb_dist/$(PACKAGE ) -$(VERSION ) && dpkg-buildpackage -us -uc -nc
8889
8990# ####################################################################################################
You can’t perform that action at this time.
0 commit comments