File: rules

package info (click to toggle)
s-nail 14.8.16-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,396 kB
  • ctags: 3,919
  • sloc: ansic: 45,227; sh: 4,858; perl: 238; makefile: 59
file content (36 lines) | stat: -rwxr-xr-x 666 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
32
33
34
35
36
#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export CONFIG=MAXIMAL
export PREFIX=/usr
export LIBEXECDIR=/usr/lib/s-nail
export SYSCONFDIR=/etc
export DESTDIR=$(CURDIR)/debian/tmp
export SENDMAIL=/usr/sbin/sendmail

%:
	dh $@ --parallel

override_dh_auto_clean:
	-dh_auto_clean -- clean

override_dh_auto_configure:
	$(MAKE) config

override_dh_auto_build:
	$(MAKE)

override_dh_auto_install:
	$(MAKE) install

override_dh_install:
	dh_install --fail-missing

override_dh_fixperms:
	dh_fixperms
	-chmod 4755 $(CURDIR)/debian/s-nail/usr/lib/s-nail/s-nail-privsep