File: rules

package info (click to toggle)
beanstalkc 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 128 kB
  • sloc: python: 246; makefile: 12
file content (23 lines) | stat: -rwxr-xr-x 417 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --with python2


override_dh_auto_clean:
	dh_auto_clean
	rm -rf beanstalkc.egg-info


override_dh_auto_test:
ifeq "$(filter nocheck,$(DEB_BUILD_OPTIONS))" ""
	set -ex; for python in $(shell pyversions -s); do\
		$$python beanstalkc.py; \
	done
endif

.PHONY: override_dh_auto_clean override_dh_auto_test