File: rules

package info (click to toggle)
libgweather4 4.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 53,304 kB
  • sloc: xml: 43,729; ansic: 10,088; python: 161; sh: 50; makefile: 18; javascript: 5
file content (28 lines) | stat: -rwxr-xr-x 729 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
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
                             -Denable_vala=true \
                             -Dgtk_doc=true

# Ubuntu's dh_translations can't handle two .pot files yet
# https://launchpad.net/bugs/1751820
override_dh_translations:
	dh_translations --domain=libgweather-4.0
	ninja -C obj-$(DEB_HOST_GNU_TYPE) libgweather-4.0-locations-pot

override_dh_auto_clean:
	dh_auto_clean
	rm -f po-locations/libgweather-4.0-locations.pot

override_dh_auto_test:
	dh_auto_test -- --timeout-multiplier=3

override_dh_gnome_clean: