File: rules

package info (click to toggle)
gtksourceview3 3.24.11-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,368 kB
  • sloc: ansic: 51,378; sh: 4,876; xml: 1,137; makefile: 1,089; python: 778; perl: 52; yacc: 45; cobol: 20; objc: 19; sed: 16; javascript: 16; fortran: 14; cpp: 8; ml: 3
file content (22 lines) | stat: -rwxr-xr-x 501 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
22
#!/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

%:
	dh $@

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_auto_configure:
	dh_auto_configure -- \
		--$(if $(filter %-doc,$(shell dh_listpackages)),en,dis)able-gtk-doc \
		--enable-static

execute_before_dh_install:
	find debian -name '*.la' -print -delete

override_dh_auto_test:
	NO_AT_BRIDGE=1 xvfb-run -a dh_auto_test