File: rules

package info (click to toggle)
json-glib 1.10.6%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,476 kB
  • sloc: ansic: 13,543; sh: 39; python: 28; makefile: 16; javascript: 5
file content (21 lines) | stat: -rwxr-xr-x 526 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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_auto_configure:
	dh_auto_configure -- \
		--libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
		-Dauto_features=enabled \
		-Dconformance=true \
		-Dinstalled_tests=true \
		-Dman=true \
		-Ddocumentation=$(if $(filter libjson-glib-doc,$(shell dh_listpackages)),enabled,disabled) \
		$(NULL)

override_dh_gnome_clean:
	dh_gnome_clean --no-control