File: rules

package info (click to toggle)
libnma 1.10.6-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,112 kB
  • sloc: ansic: 18,036; sh: 5,031; makefile: 676; xml: 92; sed: 16
file content (22 lines) | stat: -rwxr-xr-x 523 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
22
#!/usr/bin/make -f

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

%:
	dh $@ --without=autoreconf --buildsystem=meson

override_dh_auto_configure:
	dh_auto_configure -- \
		-Dgcr=true \
		-Diso_codes=true \
		-Dlibnma_gtk4=true \
		-Dgcr=true \
		-Dmobile_broadband_provider_info=true \
		-Dgtk_doc=true \
		-Dintrospection=true \
		-Dvapi=true

# Support Ubuntu language packs
execute_before_dh_installdeb:
	if command -v dh_translations>/dev/null; then dh_translations; fi