File: rules

package info (click to toggle)
opendmarc 1.4.0~beta1+dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 9,924 kB
  • sloc: xml: 294,675; ansic: 13,828; perl: 2,391; sh: 438; makefile: 201; python: 58
file content (27 lines) | stat: -rwxr-xr-x 800 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
22
23
24
25
26
27
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_testdir
	CONFIG_SHELL=/bin/sh dh_auto_configure -- \
		CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
		LDFLAGS="$(LDFLAGS) -lresolv -Wl,-z,defs -L/usr/lib/libmilter" \
		--enable-filter-tests \
		--with-spf \
		--with-spf2-include=/usr/include/spf2 \
		--with-spf2-lib=/usr/lib \
		--with-sql-backend

override_dh_installdocs:
	dh_installdocs
	mv $(CURDIR)/debian/opendmarc/usr/share/doc/opendmarc/README \
		$(CURDIR)/debian/opendmarc/usr/share/doc/opendmarc/README.reports
	cp README $(CURDIR)/debian/opendmarc/usr/share/doc/opendmarc/README
	cp opendmarc/README $(CURDIR)/debian/opendmarc/usr/share/doc/opendmarc/README.opendmarc

override_dh_installchangelogs:
	dh_installchangelogs RELEASE_NOTES