File: rules

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

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

override_dh_python3:
	dh_python3
	dh_python3 /usr/share/fenrirscreenreader

override_dh_install:
	dh_install
	dh_install config/settings/settings.conf /etc/fenrirscreenreader/settings
	sed -i -e '1s_#!/usr/bin/python$$_#!/usr/bin/python3_' $$(find debian -name \*.py)
	sed -i -e '1s_#!/bin/python_#!/usr/bin/python3_' $$(find debian -name \*.py)
	sed -i -e '1s_#!/bin/env python3_#!/usr/bin/python3_' $$(find debian -name \*.py)
	dh_install autostart/systemd/Debian/fenrir.service /lib/systemd/system