File: rules

package info (click to toggle)
python-secretstorage 2.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 200 kB
  • ctags: 167
  • sloc: python: 695; makefile: 17; sh: 8
file content (24 lines) | stat: -rwxr-xr-x 530 bytes parent folder | download
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
# -*- mode: makefile; coding: utf-8 -*-

PYTHON3=$(shell py3versions -r)

%:
	dh $@ --with python2,python3,sphinxdoc

override_dh_auto_clean:
	dh_auto_clean
	rm -rf build/ docs/html/*.html */__pycache__

override_dh_auto_build:
	dh_auto_build
	set -ex; for python in $(PYTHON3); do \
		$$python setup.py build; \
	done
	python3 setup.py build_sphinx

override_dh_auto_install:
	dh_auto_install
	set -ex; for python in $(PYTHON3); do \
		$$python setup.py install --install-layout=deb --root=debian/tmp; \
	done