File: rules

package info (click to toggle)
pyinfra 0.2.2%2Bgit20161227.ec708ef-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 11,804 kB
  • ctags: 677
  • sloc: python: 5,944; sh: 71; makefile: 11
file content (19 lines) | stat: -rwxr-xr-x 461 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 DH_VERBOSE=1
#export DEB_BUILD_OPTIONS=nocheck
export PYBUILD_NAME=pyinfra

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

override_dh_auto_build:

override_dh_auto_test:
	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="python3 -m nose --verbose" dh_auto_test

override_dh_installdocs:
	PYTHONPATH=. sphinx-build -N -bhtml docs/ debian/pyinfra/usr/share/doc/pyinfra/html/
	dh_installdocs

override_dh_compress:
	dh_compress -X.py