File: rules

package info (click to toggle)
python-w3lib 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 376 kB
  • sloc: python: 3,142; makefile: 133
file content (14 lines) | stat: -rwxr-xr-x 352 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export PYBUILD_NAME=w3lib
# needed because of tox in B-D
export PYBUILD_TEST_PYTEST=1

%:
	dh $@ --buildsystem=pybuild

override_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
	PYTHONPATH=. python3 -m sphinx -b html -N docs/ $(CURDIR)/debian/python-w3lib-doc/usr/share/doc/python-w3lib-doc/html
	dh_sphinxdoc
endif