| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
# Uncomment this to turn on verbose mode. |
| 5 |
#export DH_VERBOSE=1 |
| 6 |
|
| 7 |
include /usr/share/dpkg/pkg-info.mk |
| 8 |
|
| 9 |
export PYBUILD_NAME=$(DEB_SOURCE) |
| 10 |
|
| 11 |
%: |
| 12 |
dh $@ --with python3 --buildsystem=pybuild |
| 13 |
|
| 14 |
override_dh_auto_clean: |
| 15 |
dh_auto_clean |
| 16 |
rm -f debian/upstream_changelog |
| 17 |
|
| 18 |
override_dh_installchangelogs: |
| 19 |
grep -A 10000 Changelog README.rst | grep -A 1000 $(DEB_VERSION_UPSTREAM) > debian/upstream_changelog |
| 20 |
dh_installchangelogs debian/upstream_changelog |