File: rules

package info (click to toggle)
libevent 2.1.8-stable-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 4,816 kB
  • ctags: 5,568
  • sloc: ansic: 53,706; sh: 4,396; python: 1,369; makefile: 198
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