File: rules

package info (click to toggle)
python-url-matcher 0.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 372 kB
  • sloc: python: 627; makefile: 17
file content (12 lines) | stat: -rwxr-xr-x 310 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export PYBUILD_NAME=url-matcher

%:
	dh $@ --buildsystem=pybuild

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