File: rules

package info (click to toggle)
python-pyelftools 0.26-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 5,600 kB
  • sloc: python: 10,675; ansic: 143; makefile: 22; asm: 2
file content (17 lines) | stat: -rwxr-xr-x 384 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
#DH_VERBOSE = 1

export PYBUILD_NAME = pyelftools

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

override_dh_install:
	# remove readelf.py script installed in /usr/bin/
	# it's not part of the build
	dh_install
	rm -r debian/python3-pyelftools/usr/bin

override_dh_auto_test:
	# launch manually because dh_auto_test does not pick it up
	python3 test/all_tests.py