File: rules

package info (click to toggle)
courier-authlib 0.72.6-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,844 kB
  • sloc: ansic: 25,772; cpp: 12,475; sh: 5,588; makefile: 938; perl: 761
file content (31 lines) | stat: -rwxr-xr-x 752 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
28
29
30
31
#!/usr/bin/make -f

export CXX=%CXXCOMPILER%
export CC=%CCOMPILER%

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-mailuser=%MAILUSER% \
		--with-mailgroup=%MAILGROUP%

override_dh_auto_install:
	dh_auto_install --
	CONFIG_FILES=debian/auto_install.sh ./config.status
	chmod +x debian/auto_install.sh
	CONFIG_FILES=debian/mkinstall.pl ./config.status
	chmod +x debian/mkinstall.pl
	rm -f debian/libcourier-auth%SOVERSION%/lintian-overrides
	ln -s libcourier-auth.soname.lintian-overrides debian/libcourier-auth%SOVERSION%.lintian-overrides
	debian/auto_install.sh

override_dh_fixperms:
	:

override_dh_installsystemd:
	dh_installsystemd --package libcourier-auth

override_dh_builddeb:
	dh_builddeb -- $(DEB_BUILDDEB_OPTIONS)