File: rules

package info (click to toggle)
python-pyaudio 0.2.11-1.3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 340 kB
  • sloc: ansic: 1,861; python: 1,361; makefile: 47
file content (24 lines) | stat: -rwxr-xr-x 425 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/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

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=$(PYTHONPATH) make docs

override_dh_auto_clean:
	dh_auto_clean
	rm -rf docs