File: rules

package info (click to toggle)
gtksourceview4 4.8.4-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,380 kB
  • sloc: ansic: 50,318; xml: 1,432; javascript: 856; perl: 212; sh: 150; php: 48; yacc: 45; ruby: 38; sql: 30; cobol: 20; objc: 19; lisp: 19; fortran: 14; python: 13; makefile: 12; cpp: 8; ml: 3
file content (19 lines) | stat: -rwxr-xr-x 536 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4

# needed with the Ubuntu toolchain to avoid issues
export DEB_LDFLAGS_MAINT_STRIP := -Wl,-Bsymbolic-functions

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-Dinstall_tests=true \
                -Dgtk_doc=$(if $(filter %-doc,$(shell dh_listpackages)),true,false)

override_dh_auto_test:
	NO_AT_BRIDGE=1 xvfb-run -a dh_auto_test -- --timeout-multiplier 3