File: rules

package info (click to toggle)
fpdf2 2.8.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 53,860 kB
  • sloc: python: 39,487; sh: 133; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 505 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# This file was automatically generated by stdeb 0.10.0 at
# Thu, 10 Aug 2023 11:49:57 +0200
export PYBUILD_NAME=fpdf2
%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_test:
	# the tests expect the fpdf2-logo.png file in an accessible location
	for D in .pybuild/* ; \
		do mkdir -p $$D/build/docs ; \
		cp ./docs/fpdf2-logo.png $$D/build/docs ; \
		done
	dh_auto_test
	rm -r .pybuild/*/build/docs
	rm -r .pybuild/*/build/.coverage
	rm -r .pybuild/*/build/coverage.xml