File: rules

package info (click to toggle)
python-whoosh 2.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,564 kB
  • ctags: 5,525
  • sloc: python: 37,668; makefile: 15
file content (20 lines) | stat: -rwxr-xr-x 513 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
export PYBUILD_NAME=whoosh

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

override_dh_auto_build: export http_proxy=127.0.0.1:9
override_dh_auto_build: export https_proxy=127.0.0.1:9
override_dh_auto_build:
	cp debian/missing/english-words.10.gz tests/
	dh_auto_build --buildsystem=pybuild
	python3 setup.py build_sphinx

override_dh_auto_clean:
	dh_auto_clean
	rm -rf docs/build
	rm -f tests/english-words.10.gz

override_dh_compress:
	dh_compress -Xdoc/python-whoosh/html