File: rules

package info (click to toggle)
nbclient 0.8.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 760 kB
  • sloc: python: 2,751; makefile: 18
file content (13 lines) | stat: -rwxr-xr-x 325 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

#export DH_VERBOSE=1
export LC_ALL=C.UTF-8

%:
	dh $@ --buildsystem=pybuild

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