| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export PYBUILD_DISABLE=test |
| 4 |
|
| 5 |
%: |
| 6 |
dh $@ --buildsystem=pybuild |
| 7 |
|
| 8 |
override_dh_auto_install: |
| 9 |
set -e ; \ |
| 10 |
for python in python3 ; do \ |
| 11 |
$$python setup.py -q install --no-compile \ |
| 12 |
--root=debian/$$python-logilab-constraint \ |
| 13 |
--install-headers=debian/$$python-logilab-constraint/usr/include/ \ |
| 14 |
--install-scripts=usr/bin \ |
| 15 |
--install-layout=deb ; \ |
| 16 |
done |
| 17 |
|
| 18 |
override_dh_installchangelogs: |
| 19 |
dh_installchangelogs -A -i ChangeLog |
| 20 |
|
| 21 |
override_dh_installdocs: |
| 22 |
dh_installdocs -A -i README.rst doc/documentation.html doc/CONTRIBUTORS doc/documentation.xml |
| 23 |
|
| 24 |
override_dh_compress: |
| 25 |
dh_compress -A -i -X.py -X.ini -X.xml -Xtest |
| 26 |
|
| 27 |
override_dh_installexamples: |
| 28 |
dh_installexamples -A examples/* |