1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
%:
dh $@ --with python3
override_dh_auto_build:
dh_auto_build --no-act
dh_auto_build --buildsystem=pybuild --sourcedirectory=python
override_dh_auto_install:
dh_auto_install
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp/ install-docs
dh_auto_install --buildsystem=pybuild --sourcedirectory=python
# Packages under usr/local/lib/python* are installed by upstream's
# Makefile, but we don't want them.
rm -rfv $(CURDIR)/debian/tmp/usr/local/lib/python*
|