File: rules

package info (click to toggle)
libmicrohttpd 0.9.73-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 9,348 kB
  • sloc: ansic: 66,007; sh: 5,568; makefile: 1,486; pascal: 1,097; sed: 16
file content (17 lines) | stat: -rwxr-xr-x 433 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# Enabling all hardening flags as MHD handles untrusted data
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh ${@}

execute_after_dh_auto_install:
	# Removing useless files
	rm -f debian/tmp/usr/lib/*/*.la

ifneq ($(filter $(DEB_BUILD_ARCH), kfreebsd-amd64 kfreebsd-i386 hurd-i386 hppa),)
override_dh_auto_test:
	# avoid FTBFS on architectures where test suite is known to fail
	dh_auto_test || true
endif