File: rules

package info (click to toggle)
python-django-threadedcomments 0.5.3-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 804 kB
  • sloc: python: 2,521; makefile: 13
file content (17 lines) | stat: -rwxr-xr-x 303 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

%:
	dh $@ --with python2

override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
	set -e; \
	cd tests; \
	for python in $(shell pyversions -r); do \
		$$python runtests.py; \
	done
endif

override_dh_auto_clean:
	dh_auto_clean
	rm -rf django_threadedcomments.egg-info