File: rules

package info (click to toggle)
sonnet 5.78.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,208 kB
  • sloc: cpp: 6,845; sh: 15; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 384 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with kf5,pkgkde_symbolshelper --buildsystem kf5 --without build_stamp

override_dh_auto_configure:
	dh_auto_configure -- -DBUILD_QCH=ON -DPARSETRIGRAMS_EXECUTABLE=parsetrigrams

override_dh_auto_test:
	export XDG_RUNTIME_DIR="$$(mktemp -d)"; \
	 xvfb-run -a dh_auto_test; \
	 rm -rf "$$XDG_RUNTIME_DIR"