File: rules

package info (click to toggle)
python-statsd 4.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 236 kB
  • sloc: python: 912; makefile: 132
file content (18 lines) | stat: -rwxr-xr-x 458 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export PYBUILD_NAME=statsd

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_clean:
	dh_clean
	# dh_clean does not support recursive deletions via debian/clean
	# so we have to explicitly delete the egg directories there.
	# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511048
	rm -rf mock-*.egg
	rm -rf nose-*.egg

.PHONY: override_dh_clean