File: rules

package info (click to toggle)
qatengine 2.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 5,256 kB
  • sloc: ansic: 88,285; sh: 475; makefile: 249
file content (21 lines) | stat: -rwxr-xr-x 446 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

export DPKG_EXPORT_BUILDFLAGS = 1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh ${@}

override_dh_auto_configure:
	dh_auto_configure -- --enable-qat_sw

execute_after_dh_auto_install:
	# removing unused files
	rm -f debian/qatengine/usr/lib/*/engines-3/*.la

override_dh_compress:
	dh_compress -Xtestapp

override_dh_fixperms:
	# don't remove executable bit on /usr/share/doc/qatengine/testapp*
	dh_fixperms -Xtestapp