File: rules

package info (click to toggle)
tvdb-api 2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 224 kB
  • sloc: python: 2,168; makefile: 12
file content (20 lines) | stat: -rwxr-xr-x 425 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

%:
	dh $@ --with python2,python3


override_dh_clean:
	dh_clean
	rm -rf tvdb_api.egg-info

override_dh_auto_install:
	dh_auto_install

	python setup.py install --root=debian/python-tvdb-api --install-layout=deb
	python3 setup.py install --root=debian/python3-tvdb-api --install-layout=deb

	rm -rf debian/*/usr/lib/python*/*-packages/tvdb_api*.egg-info

override_dh_installdocs:
	dh_installdocs readme.md