File: rules

package info (click to toggle)
libpeas2 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,808 kB
  • sloc: ansic: 8,018; cpp: 319; python: 178; javascript: 52; xml: 47; sh: 21; makefile: 17
file content (26 lines) | stat: -rwxr-xr-x 630 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
#!/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 -- \
		-Dgjs=false \
		-Dgtk_doc=$(if $(filter %-doc,$(shell dh_listpackages)),true,false) \
		-Dlua51=false \
		-Dvapi=true

override_dh_makeshlibs:
	dh_makeshlibs -X/usr/lib/$(DEB_HOST_MULTIARCH)/libpeas-2/

override_dh_auto_test:
	dh_auto_test -- --timeout-multiplier=6

override_dh_gnome_clean: