File: rules

package info (click to toggle)
django-auditlog 3.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 744 kB
  • sloc: python: 5,782; makefile: 46; sh: 33
file content (12 lines) | stat: -rwxr-xr-x 450 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export PYBUILD_BEFORE_TEST := cp -r auditlog_tests {build_dir}/
export PYBUILD_TEST_CUSTOM := 1
export PYBUILD_TEST_ARGS := {interpreter} {dir}/debian/tests/setup-db-and-run-tests.py
export PYBUILD_AFTER_TEST := rm -rf {build_dir}/auditlog_tests

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_build:
	cd docs; PYTHONPATH=$(CURDIR) LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 sphinx-build -bhtml -d _build/doctrees source _build/html