File: rules

package info (click to toggle)
autoradio 3.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,784 kB
  • sloc: python: 10,213; sh: 68; makefile: 16
file content (19 lines) | stat: -rwxr-xr-x 612 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

export PYBUILD_NAME=autoradio
export PYBUILD_INSTALL_ARGS=--install-lib=/usr/lib/python3/dist-packages/
export PYTHONDONTWRITEBYTECODE=true

%:
	dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_clean:
		dh_auto_clean
		python3 setup.py distclean
		rm -rf autoradio.egg-info
		rm -rf $$(find autoradio/ -name __pycache__)
override_dh_auto_build:
		dh_auto_build
override_dh_link:
		dh_link usr/share/cortado usr/lib/python3/dist-packages/autoradio/media/sito/playogg/java
		dh_link usr/share/javascript/jquery usr/lib/python3/dist-packages/autoradio/media/sito/playogg/js
		dh_link