3
# Uncomment this to turn on verbose mode.
5
DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
6
| grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
7
package=python-myghtyutils
15
find . -name *\.py[co] -exec rm -f {} \;
33
python setup.py install \
35
--single-version-externally-managed \
36
--root $(CURDIR)/debian/$(package)
38
binary-indep: build install
48
mv debian/$(package)/usr/share/python-support/$(package)/MyghtyUtils-${DEB_UPSTREAM_VERSION}-py[0-9].[0-9].egg-info \
49
debian/$(package)/usr/share/python-support/$(package)/myghtyutils-${DEB_UPSTREAM_VERSION}.egg-info
58
binary: binary-indep binary-arch
59
.PHONY: build clean binary-indep binary-arch binary install configure