File: rules

package info (click to toggle)
libevent 2.1.12-stable-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 5,224 kB
  • sloc: ansic: 56,582; sh: 4,515; python: 1,356; makefile: 221
file content (17 lines) | stat: -rwxr-xr-x 410 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
#,--no-undefined,--no-add-needed

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--disable-libevent-regress \
		$(shell dpkg-buildflags --export=configure)

override_dh_strip:
	dh_strip --dbgsym-migration="libevent-dbg (<< 2.1.8-stable-1~)" || dh_strip