File: rules

package info (click to toggle)
sa-exim 4.2.1-22
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,008 kB
  • sloc: ansic: 1,331; perl: 297; sh: 88; makefile: 67
file content (24 lines) | stat: -rwxr-xr-x 648 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
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- BUILDCFLAGS='-DLOCAL_SCAN -I/usr/include/exim4 -fPIC $$(CPPFLAGS) $$(CFLAGS)' \
	  CPPFLAGS='$(CPPFLAGS)' CFLAGS='$(CFLAGS)' LDFLAGS='-shared $(LDFLAGS)' SUFF=''

override_dh_auto_clean:
	dh_auto_clean -- SUFF=''

override_dh_installcron:
	dh_installcron --name=greylistclean

override_dh_installchangelogs:
	dh_installchangelogs Changelog.html

override_dh_shlibdeps:
	dh_shlibdeps
	echo "exim:Depends=exim4-localscanapi-`exim4-localscan-plugin-config --localscan-apiversion`" \
	   >> debian/sa-exim.substvars