File: rules

package info (click to toggle)
jupyter-client 6.1.11-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,268 kB
  • sloc: python: 6,469; makefile: 168
file content (19 lines) | stat: -rwxr-xr-x 518 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

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

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

override_dh_auto_test:
	@echo "Tests disabled to avoid circular dependencies"

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

override_dh_installchangelogs:
	dh_installchangelogs -k docs/changelog.rst