File: rules

package info (click to toggle)
pyptlib 0.0.6-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,228 kB
  • ctags: 406
  • sloc: python: 1,162; makefile: 139
file content (16 lines) | stat: -rwxr-xr-x 337 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

%:
	dh $@ --buildsystem=python_distutils --with=python2

override_dh_installdocs:
	cd sphinx && make text
	dh_installdocs

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	set -e && \
	for test in $$(find pyptlib/test -type f -name 'test_*.py'); do \
		PYTHONPATH=. python $$test; \
	done
endif