File: rules

package info (click to toggle)
swtpm 0.10.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,008 kB
  • sloc: ansic: 20,787; sh: 14,667; makefile: 760; python: 173
file content (17 lines) | stat: -rwxr-xr-x 487 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_BUILD_MAINT_OPTIONS  = hardening=+all

include /usr/share/debhelper/dh_package_notes/package-notes.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-openssl --with-gnutls --without-cuse --without-selinux \
		$(if $(filter nocheck,$(DEB_BUILD_PROFILES)),--disable-tests,--enable-tests)

override_dh_auto_test:
	SWTPM_TEST_SECCOMP_OPT="--seccomp action=none" make -j4 check VERBOSE=1

override_dh_makeshlibs:
	dh_makeshlibs --no-scripts