File: rules

package info (click to toggle)
sonnet 5.54.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,104 kB
  • sloc: cpp: 6,179; sh: 15; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 431 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

export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed

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

override_dh_auto_configure:
	dh_auto_configure -- -DBUILD_QCH=ON

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

override_dh_strip:
	dh_strip --dbgsym-migration='libkf5sonnet5-dbg (<= 5.19.0-1~~)'