File: rules

package info (click to toggle)
shotwell 0.32.13-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 57,512 kB
  • sloc: xml: 55,555; cpp: 354; ansic: 157; python: 130; sh: 46; makefile: 12
file content (20 lines) | stat: -rwxr-xr-x 478 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export VALAFLAGS:=$(foreach w,$(CPPFLAGS) $(CFLAGS) $(LDFLAGS),-X $(w))

#Enable the apport option when building of Ubuntu
ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
		APPORT = -Dinstall_apport_hook=true
endif

%:
	dh $@  --buildsystem=meson

override_dh_auto_configure:
	dh_auto_configure -- \
	    -Dunity_support=true $(APPORT)

override_dh_gnome_clean:
	dh_gnome_clean --no-control