File: rules

package info (click to toggle)
python-html2text 2020.1.16-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 792 kB
  • sloc: python: 1,487; sh: 47; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 423 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

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

override_dh_auto_test:
	dh_auto_test -- --test-pytest --test-args $(CURDIR)/test

override_dh_auto_install:
	dh_auto_install -- --after-install \
	    'mv {destdir}/usr/bin/html2text {destdir}/usr/bin/html2markdown.py{version.major}'

override_dh_installman:
	cp debian/html2markdown.1 debian/html2markdown.py3.1
	dh_installman debian/html2markdown.py3.1