2
# Sample debian/rules that uses debhelper.
3
# GNU copyright 1997 to 1999 by Joey Hess.
5
PYVERS=$(shell pyversions -r debian/control)
7
configure: configure-stamp
13
build: configure build-stamp
16
for python in $(PYVERS); do \
17
$$python setup.py build ; \
25
for python in $(PYVERS); do \
26
$$python setup.py clean ; \
36
for python in $(PYVERS); \
37
do $$python setup.py install --root=$(CURDIR)/debian/python-psycopg2 --no-compile; \
42
dh_installzope -p zope-psycopgda2 ZPsycopgDA
44
# Build architecture-independent files here.
45
binary-indep: build install-indep
48
dh_installdocs -i AUTHORS debian/README.zpsycopgda2
49
dh_installchangelogs -i
58
# Build architecture-dependent files here.
59
binary-arch: build install-arch
62
dh_installdocs -a README AUTHORS doc tests
63
dh_installchangelogs -a ChangeLog
77
binary: binary-indep binary-arch
78
.PHONY: build clean binary-indep binary-arch binary install configure