File: rules

package info (click to toggle)
python-aalib 0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 140 kB
  • sloc: python: 334; ansic: 38; makefile: 28; sh: 12
file content (18 lines) | stat: -rwxr-xr-x 364 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export PYBUILD_NAME=aalib

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

override_dh_auto_test:
	dh_auto_test -- \
		--system=custom \
		--test-args="make -C {dir}/test smoke-test abi-test PYTHON={interpreter}"

override_dh_auto_clean:
	$(MAKE) -C test clean
	dh_auto_clean

override_dh_installchangelogs:
	dh_installchangelogs doc/changelog