File: rules

package info (click to toggle)
globalplatform 2.4.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,596 kB
  • sloc: ansic: 13,384; xml: 244; sh: 87; java: 19; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 330 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --builddirectory=.

unittest = $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,-DTESTING=ON)

override_dh_auto_configure:
	dh_auto_configure -- \
	-DUSE_SYSTEM_MINIZIP=ON \
	-DCMAKE_VERBOSE_MAKEFILE=ON \
	-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
	$(unittest)