File: rules

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

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export LC_ALL=C.UTF-8
export PYBUILD_NAME=openssl

%:
	dh $@ --buildsystem=pybuild

override_dh_sphinxdoc:
ifeq ($(filter nodoc,$(DEB_BUILD_OPTIONS)),)
	PYTHONPATH=src python3 -m sphinx -b html -N doc/ $(CURDIR)/debian/python-openssl-doc/usr/share/doc/python-openssl-doc/html
	dh_sphinxdoc
endif

override_dh_installchangelogs:
	dh_installchangelogs CHANGELOG.rst