File: rules

package info (click to toggle)
python-ws4py 0.6.0%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 676 kB
  • sloc: python: 4,552; makefile: 137; javascript: 96
file content (23 lines) | stat: -rwxr-xr-x 521 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
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=ws4py
export PYBUILD_BEFORE_TEST=cp -r {dir}/test {build_dir}

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

override_dh_installchangelogs:
	dh_installchangelogs CHANGELOG.md

override_dh_installdocs:
	make -C docs/ clean html
	dh_installdocs -A README.md

override_dh_installexamples:
	dh_installexamples -p python-ws4py-doc --doc-main-package=python-ws4py-doc

execute_after_dh_auto_clean:
	make -C docs/ clean