3
include /usr/share/quilt/quilt.make
5
PYVERS=$(shell pyversions -vs)
10
[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make patch
13
build: $(PYVERS:%=build-python%)
15
build-python%: config-stamp
17
python$* setup.py build
23
rm -f config-stamp build-python?.* install-python?.*
24
rm -f `find . -name "*.pyc"`
26
[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make unpatch
29
install: build $(PYVERS:%=install-python%)
34
python$* setup.py install \
36
--root=$(CURDIR)/debian/python-faulthandler
39
binary-indep: build install
41
binary-arch: build install
44
dh_installchangelogs -a
54
[ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo -a
61
binary: binary-indep binary-arch
62
.PHONY: config build clean binary-indep binary-arch binary install