File: rules

package info (click to toggle)
flask-mail 0.9.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 204 kB
  • sloc: python: 978; makefile: 81
file content (20 lines) | stat: -rwxr-xr-x 559 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export PYBUILD_NAME=flask-mail

# The speaklater package is not available in testing or sid
export PYBUILD_DISABLE=test

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

override_dh_installchangelogs:
	# changelog.rst is a dummy file
	# cf. https://github.com/mattupstate/flask-mail/issues/146
	dh_installchangelogs -Xchangelog.rst

override_dh_installdocs:
	mkdir -p debian/tmp
	cp docs/index.rst debian/tmp/README.rst
	pandoc -o debian/tmp/README.html debian/tmp/README.rst
	dh_installdocs -A debian/tmp/README.html debian/tmp/README.rst