File: rules

package info (click to toggle)
python-maison 2.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 484 kB
  • sloc: python: 817; makefile: 12; sh: 5
file content (19 lines) | stat: -rwxr-xr-x 469 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export PYBUILD_NAME=maison
export PYBUILD_TEST_ARGS=--no-cov

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_clean:
	rm -rf maison.egg-info/ docs/_build

execute_after_dh_auto_test:
	rm -r ./.pybuild/*/build/.pytest_cache

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

execute_after_dh_auto_install:
	rm debian/python3-maison/usr/bin/maison