File: rules

package info (click to toggle)
gmime 3.2.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 10,160 kB
  • sloc: ansic: 46,466; sh: 4,355; makefile: 571; python: 8; perl: 6
file content (23 lines) | stat: -rwxr-xr-x 575 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# examples/Makefile is autogenerated before being shipped; we want to
# make sure it picks a standard shell for reproducibility
export CONFIG_SHELL = /bin/sh

# the build tends to aggressively over-link, this avoids unnecessary dependencies
export DEB_LDFLAGS_MAINT_PREPEND = -Wl,--as-needed

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_auto_configure:
	dh_auto_configure -- \
		--enable-vala \
		--enable-gtk-doc \
		--enable-largefile \
		--enable-introspection

%:
	dh $@ --with=gir