File: rules

package info (click to toggle)
python-darkslide 6.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,312 kB
  • sloc: python: 1,196; javascript: 523; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 367 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

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

.PHONY: override_dh_installchangelogs override_dh_auto_build