File: rules

package info (click to toggle)
python-darkslide 5.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 2,304 kB
  • sloc: python: 1,222; makefile: 13
file content (19 lines) | stat: -rwxr-xr-x 449 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

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

override_dh_installchangelogs:
	dh_installchangelogs CHANGELOG.rst

override_dh_auto_build:
	dh_auto_build
	pandoc -f rst -t markdown README.rst | sed \
	    -e '1,/^Lightweight/ { /Lightweight/!d }' \
	    -e 's=http://=https://=g' \
	    > README.md

get-orig-source:
	uscan --force-download --rename

.PHONY: override_dh_installchangelogs override_dh_auto_build get-orig-source