File: rules

package info (click to toggle)
gtksourceview4 4.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 12,420 kB
  • sloc: ansic: 50,043; xml: 1,397; javascript: 856; perl: 212; sh: 130; php: 48; yacc: 45; ruby: 38; sql: 30; cobol: 20; makefile: 20; objc: 19; lisp: 19; fortran: 14; python: 13; cpp: 8; ml: 3
file content (30 lines) | stat: -rwxr-xr-x 674 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
23
24
25
26
27
28
29
30
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs -Wl,--as-needed

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

ifneq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
	DOC_FLAGS += -Dgtk_doc=false
else
	DOC_FLAGS += -Dgtk_doc=true
endif

%:
	dh $@ --with gnome,gir --without autoreconf

override_dh_auto_configure:
	dh_auto_configure -- \
		-Dglade_catalog=true \
		$(DOC_FLAGS)

override_dh_missing:
	dh_missing --fail-missing

override_dh_makeshlibs:
	dh_makeshlibs -- -c4

override_dh_auto_test:
	NO_AT_BRIDGE=1 xvfb-run -a dh_auto_test