File: rules

package info (click to toggle)
sysbench 1.0.20%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,840 kB
  • sloc: ansic: 11,830; sh: 1,752; xml: 736; makefile: 195
file content (24 lines) | stat: -rwxr-xr-x 567 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-mysql --with-pgsql --with-system-luajit --with-system-ck --without-gcc-arch

execute_before_dh_auto_build:
	# date comes from d/changelog entry
	txt2man \
		-v "Benchmark tool for database systems" \
		-t SYSBENCH \
		-s 1 \
		"debian/manpage.txt" > sysbench.1

override_dh_auto_build:
	@/bin/echo -e 'blhc: ignore-line-regexp: ^CC\\s{2,}:\\sgcc\x24'
	dh_auto_build