File: rules

package info (click to toggle)
libauthen-sasl-cyrus-perl 0.13-server-13
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 356 kB
  • sloc: perl: 241; makefile: 11
file content (21 lines) | stat: -rwxr-xr-x 478 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
#!/usr/bin/make -f

# Enable compiler hardening flags.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Set the user environment variable required by the test suite.
export USER=testuser

# Helpful variables
PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

override_dh_auto_configure:
	dh_auto_configure -- LIBS="-lsasl2" DEFINE="-DSASL2"

override_dh_fixperms:
	find $(TMP) -type f -name "*.pod" -print0 | xargs -r0 chmod 644
	dh_fixperms

%:
	dh $@