1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#!/usr/bin/make -f
# -*- mode: makefile -*-
SPACE :=
SPACE +=
PYTHONPATH=$(subst $(SPACE),:,$(abspath $(wildcard build/lib*)))
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@ --with python3,linktree --buildsystem=pybuild
override_dh_clean:
dh_clean
$(RM) -rf src/PyAudio.egg-info
$(RM) -rf debian/doctrees
override_dh_auto_build:
dh_auto_build
PYTHONPATH=$(PYTHONPATH) make docs
override_dh_installdocs:
dh_installdocs --doc-main-package=python3-pyaudio -ppython-pyaudio-doc
override_dh_auto_clean:
dh_auto_clean
rm -rf docs
|