File: rules

package info (click to toggle)
pycdio 2.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,896 kB
  • sloc: python: 3,486; makefile: 45
file content (14 lines) | stat: -rwxr-xr-x 356 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export PYBUILD_NAME=cdio
%:
	dh $@ --with python3 --buildsystem=pybuild --builddirectory=build

override_dh_auto_install:
	dh_auto_install
	rm -rf debian/python*-cdio/usr/lib/python*/dist-packages/pycdio-*.egg-info

override_dh_clean:
	dh_clean
	rm -f pycdio.py pyiso9660.py swig/pycdio_wrap.c swig/pyiso9660_wrap.c
	rm -rf __pycache__