File: rules

package info (click to toggle)
asammdf 8.5.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,648 kB
  • sloc: python: 89,262; ansic: 2,251; makefile: 21
file content (16 lines) | stat: -rwxr-xr-x 403 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export NO_NET_ACCESS=1
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/test-reports {build_dir}/screenshots
export PYTEST_QT_API=pyside6

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
export CFLAGS+=$(CPPFLAGS)

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_test:
	xvfb-run -a -s "-screen 0 1024x768x24" dh_auto_test