File: rules

package info (click to toggle)
libinsane 1.0.10-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,580 kB
  • sloc: ansic: 30,642; python: 481; makefile: 115; sh: 45; xml: 43
file content (20 lines) | stat: -rwxr-xr-x 621 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PREFIX=/usr

%:
	dh $@ --with gir --buildsystem=meson+ninja

override_dh_auto_test:
	# dedicated_process workaround tries to close all possible file
	# descriptors and sbuild seems to set it to the hard limit which
	# is 1073741816 on my system and generates timeout
ifeq ($(filter nocheck, $(DEB_BUILD_OPTIONS)),)
	ulimit -Sn
	ulimit -Sn 1024 && dh_auto_test
endif

override_dh_girepository:
	@echo 'blhc: ignore-line-regexp: \s+(\w+-?)*gcc -Wno-implicit-function-declaration -shared -fPIC -o debian/gir.*'
	dh_girepository