File: rules

package info (click to toggle)
django-q 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,176 kB
  • sloc: python: 6,993; makefile: 171
file content (24 lines) | stat: -rwxr-xr-x 604 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

export PYBUILD_NAME=django-q

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

#override_dh_install:
#	dh_install

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	set -e; \
	for python3 in $(shell py3versions -r); do \
		PYTHONPATH="." DJANGO_SETTINGS_MODULE=django_q.tests.settings $$python3 $(shell which django-admin) test django_q.tests;\
	done
endif

override_dh_installchangelogs:
	dh_installchangelogs CHANGELOG.md