File: rules

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

export PYBUILD_NAME=flask-mail
export PYBUILD_TEST_ARGS=tests.py -k 'not test_unicode_sender and not test_unicode_sender_tuple'

%:
	dh $@ --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