File: rules

package info (click to toggle)
dconf 0.36.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,064 kB
  • sloc: ansic: 10,094; xml: 497; python: 490; sh: 29; makefile: 19
file content (28 lines) | stat: -rwxr-xr-x 525 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
#!/usr/bin/make -f

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

%:
	dh $@ --with gnome

binaries := $(shell dh_listpackages)

ifeq ($(filter libdconf-doc,$(binaries)),)
enable_gtk_doc = false
else
enable_gtk_doc = true
endif

override_dh_auto_configure:
	dh_auto_configure -- \
		-Dgtk_doc=$(enable_gtk_doc)

override_dh_missing:
	dh_missing --fail-missing

override_dh_makeshlibs:
	dh_makeshlibs -- -c4

override_dh_auto_test:
	dh_auto_test || true