File: rules

package info (click to toggle)
amavisd-milter 1.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 464 kB
  • sloc: ansic: 3,109; makefile: 99; sh: 97
file content (21 lines) | stat: -rwxr-xr-x 586 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
DH_VERBOSE = 1
DPKG_EXPORT_BUILDFLAGS = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
include /usr/share/dpkg/default.mk
export AMAVISD_MILTER_VERSION = $(DEB_VERSION)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --localstatedir=/var/lib/amavis \
	--with-working-dir=/var/lib/amavis/tmp

override_dh_auto_install:
	dh_auto_install --destdir=debian/amavisd-milter

override_dh_strip:
	dh_strip --dbgsym-migration='amavisd-milter-dbg (<< 1.6.1-1~)'