2
# Sample debian/rules that uses debhelper.
3
# GNU copyright 1997 by Joey Hess.
5
# This version is for a hypothetical package that builds an
6
# architecture-dependant package, as well as an architecture-independent
9
# Uncomment this to turn on verbose mode.
12
# This is the debhelper compatability version to use.
15
PYVERS := $(shell pyversions -r)
22
for py in $(PYVERS); do \
23
$$py setup.py build; \
33
-for py in $(PYVERS); do \
34
$$py setup.py clean --all; done
35
rm -rf build version.pyc
47
for py in $(PYVERS); do \
48
$$py setup.py install --root=$(CURDIR)/debian/python-pyopenssl; \
51
# Build architecture-independent files here.
52
# Pass -i to all debhelper commands in this target to reduce clutter.
53
binary-indep: build install
61
dh_installchangelogs ChangeLog -i
72
# Build architecture-dependent files here.
73
binary-arch: build install
81
dh_installchangelogs ChangeLog -a
95
binary: binary-indep binary-arch
96
.PHONY: build clean binary-indep binary-arch binary install