[d/rules] Remove dpkg-parsechangelog invocation, use pkg-info.mk instead
Agustin Henze
5 years ago
3 | 3 | # Uncomment this to turn on verbose mode. |
4 | 4 | # export DH_VERBOSE=1 |
5 | 5 | |
6 | UVERSION := $(shell dpkg-parsechangelog -SVersion | cut -d- -f1) | |
7 | PACKAGE_NAME := $(shell dpkg-parsechangelog | sed -n -e's/^Source: \(.*\)\+/\1/p') | |
8 | export PYBUILD_NAME=$(PACKAGE_NAME) | |
6 | include /usr/share/dpkg/pkg-info.mk | |
7 | export PYBUILD_NAME=$(DEB_SOURCE) | |
9 | 8 | |
10 | 9 | %: |
11 | 10 | dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild |