File: rules

package info (click to toggle)
django-modeltranslation 0.13.3-0.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 776 kB
  • sloc: python: 4,515; makefile: 134
file content (15 lines) | stat: -rwxr-xr-x 354 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export PYBUILD_NAME=django-modeltranslation

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

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. python3 -m sphinx -b html -N docs/modeltranslation build/html

override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
		PYBUILD_TEST_ARGS="{interpreter} ./runtests.py" \
		dh_auto_test