File: rules

package info (click to toggle)
runsnakerun 2.0.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 728 kB
  • sloc: python: 2,241; makefile: 15
file content (22 lines) | stat: -rwxr-xr-x 522 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f
# -*- makefile -*-
export DH_VERBOSE=1

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


override_dh_fixperms:
	find $(CURDIR)/debian/runsnakerun/ -executable -type f -exec chmod -x "{}" \;
	dh_fixperms

override_dh_installchangelogs:
	w3m -dump doc/index.html | \
		awk '/^Releases/,/^ *Copyright/' | \
		sed '1d;2d;$$d' > runsnakerun.changelog
	dh_installchangelogs
	dh_installchangelogs runsnakerun.changelog

override_dh_auto_clean:
	dh_auto_clean
	rm -rf runsnakerun.changelog RunSnakeRun.egg-info